dev-c++

Using GetOpenFileName in Dev C++, VS

旧街凉风 提交于 2021-02-11 05:12:23
问题 I am fairly new to programming and compilers. I had a 1 year C++ class in university. Last month I started a project where I wanted to automate some processes for work. The program takes a phone directory and then creates .cfg files from it. Nothing very advanced, mostly reading, storing and writing data. I made my project using Dev C++ IDE. It works fine and it is simple to use for a beginner like me. Lately I was trying to use a Visual C++ function called GetOpenFileName. I got an example

Using GetOpenFileName in Dev C++, VS

。_饼干妹妹 提交于 2021-02-11 05:10:23
问题 I am fairly new to programming and compilers. I had a 1 year C++ class in university. Last month I started a project where I wanted to automate some processes for work. The program takes a phone directory and then creates .cfg files from it. Nothing very advanced, mostly reading, storing and writing data. I made my project using Dev C++ IDE. It works fine and it is simple to use for a beginner like me. Lately I was trying to use a Visual C++ function called GetOpenFileName. I got an example

Using GetOpenFileName in Dev C++, VS

☆樱花仙子☆ 提交于 2021-02-11 05:06:13
问题 I am fairly new to programming and compilers. I had a 1 year C++ class in university. Last month I started a project where I wanted to automate some processes for work. The program takes a phone directory and then creates .cfg files from it. Nothing very advanced, mostly reading, storing and writing data. I made my project using Dev C++ IDE. It works fine and it is simple to use for a beginner like me. Lately I was trying to use a Visual C++ function called GetOpenFileName. I got an example

Does Dev-Cpp 5.11 support C++ 11?

℡╲_俬逩灬. 提交于 2021-02-08 07:28:57
问题 I struggled to find a clear answer on the first Google page. I have troubles understanding the term "Language standard". I mean, the new standard should be implemented on a software level, right? It's not just a list of things discovered that users can now do, right? I use delegating constructors, get a warning: [Warning] delegating constructors only available with -std=c++11 or -std=gnu++11 Though things seem to work the way I want them to. Is such warning critical? If so, how do I get rid

Does Dev-Cpp 5.11 support C++ 11?

眉间皱痕 提交于 2021-02-08 07:27:56
问题 I struggled to find a clear answer on the first Google page. I have troubles understanding the term "Language standard". I mean, the new standard should be implemented on a software level, right? It's not just a list of things discovered that users can now do, right? I use delegating constructors, get a warning: [Warning] delegating constructors only available with -std=c++11 or -std=gnu++11 Though things seem to work the way I want them to. Is such warning critical? If so, how do I get rid

Format specifier %Lf is giving errors for `long double` variables

家住魔仙堡 提交于 2020-06-28 03:25:39
问题 I am getting the following errors: In function 'main': [Warning] unknown conversion type character 'L' in format [-Wformat=] [Warning] too many arguments for format [-Wformat-extra-args] In function 'error_user': [Warning] unknown conversion type character 'L' in format [-Wformat=] [Warning] too many arguments for format [-Wformat-extra-args] In the below code: #include <stdio.h> #include <stdlib.h> void error_user (long double *error); int main(void) { long double error; printf("What error

Format specifier %Lf is giving errors for `long double` variables

早过忘川 提交于 2020-06-28 03:23:11
问题 I am getting the following errors: In function 'main': [Warning] unknown conversion type character 'L' in format [-Wformat=] [Warning] too many arguments for format [-Wformat-extra-args] In function 'error_user': [Warning] unknown conversion type character 'L' in format [-Wformat=] [Warning] too many arguments for format [-Wformat-extra-args] In the below code: #include <stdio.h> #include <stdlib.h> void error_user (long double *error); int main(void) { long double error; printf("What error

Install Curl in Dev C++ [closed]

我们两清 提交于 2020-02-02 02:20:01
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Hi I'm trying to install Curl : http://curl.haxx.se/download.html , Dev C++ and so far not achieved, could someone explain how to install Curl in Dev C++? 回答1: First copy ..\curl-7.40.0-devel-mingw64\include folder from downloaded package into C:\Dev-Cpp\MinGW64\include then copy libraries file (.o,.a,.lib) that

Having trouble with fstream in Xcode

南笙酒味 提交于 2020-01-30 08:47:03
问题 I'm having trouble validating the existence of REGISTER.txt for input purposes in a function (see below). My understanding is that if the file doesn't exist, then the file won't be opened and the file stream variable (inData) will be false. Thus, I can use that variable in an if/else statement to verify whether or not it opened. But even though REGISTER.txt is in the same directory as my .cpp file, my code still says that it wasn't opened. Here's the thing though. When I run the same exact