
please wait
Multiple c++ OpenGL errors that I don't know how to fix... |
Hello I am making a window in OpenGL (I assume) and I get 42 errors here are two that I am trying to fix: " 'glVeiwport' was not declared in this scope" " 'gl... |
Jan 26, 2018 at 11:25pm
[3 replies] Last: And you have other typos as well, if you still want to get your progra... (by Ganado)
|
by technologist
trappings of stof()
|
Please tell me how to keep stof. Ive read it to be problematic. I am getting an error \src\main.cpp:18:9: error: 'stof' is not a member of 'std' I've ... |
Jan 26, 2018 at 7:43pm
[18 replies] Last: That worked, thank you. (by technologist)
|
Best Graphics Lib for Static Link |
Hello All, I'm currently using Allegro 4.4.3 with both Eclipse (for Linux) and Portable Dev C++ (for Windows). I know the 4.4.3 revision of Allegro is not t... |
Jan 26, 2018 at 5:00pm
[no replies]
|
by SSteven
time_get<> : I/P from cin is OK; I/P from an istringstream gives an error
|
I have used the time_get<> facet's get_date() method to read a date from the following sources: (i) cin and (ii) an istringstream based on a string s whose... |
Jan 26, 2018 at 4:06pm
[no replies]
|
by vasimmahmood
How do I change the colour of data points in a C++ generated Excel chart?
|
I am in the midst of creating a project in C++ where I have to display some of my results on an excel chart. I have learned how to create all the charts that ... |
Jan 26, 2018 at 12:32pm
[no replies]
|
by SunilSS
C++ programs not running in codeblocks!!😕😕
|
Hi all, Please help me to solve a problem mentioned below. when i try to run my c++ programs in codeblocks after sucessful compilation, it says that ".exe f... |
Jan 26, 2018 at 11:01am
[1 reply] : For some reason your program crashed. Without code it's impossible to ... (by Thomas1965)
|
by pclausen
Sharing part of files without disclosing functions definition of other files
|
Hi, Let's say I have a C++ code with 3 libraries, A, B, and C, each containing .h, .inl, and a few .cpp files. Most of the classes and functions are template... |
Jan 26, 2018 at 10:51am
[1 reply] : The problem main problem is dealing with templates. So the trick is t... (by kbw)
|
by jono ava
C++ App Ideas - 2018
|
Hey guys, I just wanted to know your opinion on some app ideas that need to be made or can be improved so that I can focus on that as a project any thoughts? |
Jan 26, 2018 at 7:35am
[no replies]
|
by afedorov
Abstract class, polymorphism and memory managment
|
Based on my understanding C++ manages memory for me by cleaning it when variable becomes out of scope. But how does it work when I use polymorphism and abstrac... |
Jan 26, 2018 at 3:47am
[9 replies] Last: > What are strategies to manage memory in such usecase? Repeat: For ... (by JLBorges)
|
by jono ava
C++ Instant charger program ???
|
Hello, guys, I was just wondering if it is possible for you to write a programme that gives your device more charge or charges it without any wires, just c++ co... |
Jan 26, 2018 at 12:37am
[2 replies] Last: wireless chargers do exist, at tiny ranges, see your electric toothbru... (by jonnin)
|
by dylanls
How to use cmath function to round the nearest hundred
|
I am working on a project for class. I need to round a large number ex.((pi to 10 power)or(93650.237398) to the nearest hundred (93700). We need to use one of ... |
Jan 26, 2018 at 12:06am
[1 reply] : This should do it. Basically, it removes the two last digits before it... (by Ganado)
|
C++ and OpenGL error please help |
Hello I have an error with c++ and OpenGL... So I added glfw3.h into the include folder in dev c++ and it knows that it is there but the errors that I get are: ... |
Jan 25, 2018 at 8:16pm
[3 replies] Last: Nevermind I forgot int main... :Facepalm: (by FlamingBurrito15)
|
Beginner in C++ |
Hi, and thanks for your help. I'm trying to write a program that will prompt a user to enter an amount in the format of dollars and remaining cents in such a... |
Jan 25, 2018 at 5:57pm
[1 reply] : This question may fit the Beginners section a bit better. Last questi... (by wizebin)
|
by foreverjyyy
C++ Quincy beginner code question
|
does my code meet these requirements? The BONUS on a salesman’s SALES is a. zero if SALES is less than $2000; b. ten percent of SALES if SALES is at l... |
Jan 25, 2018 at 10:44am
[2 replies] Last: does my code meet these requirements? No, it doesn't compile and it... (by lastchance)
|
by jono ava
Error: expected primary-expression before 'const'
|
Hello guys, I've been working on a log in programme and there seems to be a problem with it - error: expected primary-expression before 'const' Here is my code... |
Jan 25, 2018 at 10:36am
[2 replies] Last: This looks like a duplicate of the most recent question you asked in: ... (by MikeyBoy)
|
by jono ava
password character length
|
Can someone show me how to write a programme that knows how many letters your password is, I'm trying to create a password page in which you're password must be... |
Jan 25, 2018 at 9:29am
[1 reply] : #include <iostream> #include <algorithm> #include <cctype> #include <... (by Repeater)
|
by jono ava
C++ Strange Login error
|
#include <iostream> #include <string> int main() { std::string const username; std::string const password; std::string const usern; std::string ... |
Jan 25, 2018 at 8:38am
[5 replies] Last: #include <iostream> #include <string> int main() { std::string use... (by jono ava)
|
separating dollars and cents |
How does one separate dollars and cents? For instance, if I write a program that outputs, $5.36 how can I make it read, Your total change is 5 dollars an... |
Jan 25, 2018 at 6:53am
[2 replies] Last: #include <iostream> int main() { const int CENTS_PER_DOLLAR = 10... (by closed account E0p9LyTq)
|
by ztdep
convert double to string with "to_string"
|
Dear friends: I convert a double "1E-20" to a string with "to_string" function, but i only get "0.0000", how to resolve this problem. Regards |
Jan 25, 2018 at 6:17am
[2 replies] Last: std::to_string() may return zero for small floating point numbers (... (by JLBorges)
|
by stav
[mingw] cc1plus permission denied
|
hey, im using mingw and im trying to compile my code using the following command: g++ *.cpp -out test.exe -m32 -std=c++11 -I..\Include\ -I..\Lib\32\SFML-2.4.2\... |
Jan 25, 2018 at 1:25am
[3 replies] Last: Does MinGW's G++ support the -pipe argument? This is supposed to su... (by mbozzi)
|