Beginners (Page 3)

by danciu
algorithm 01
 
What is correct answer: a. runtime error or b. 0,2,3, thank you #include <vector> #includ...
[5 replies] Last: Thank you (by danciu)
A simple exercise
 
I have a string with n elements and the exercise asks me to display the highest figure of each numbe...
[2 replies] Last: Thank you @gunnerfunner (by AndreasTm13)
Network rookie question
 
Hello. I'm trying to write my first code using boost::asio. My first step would be to ensure tha...
[1 reply] : Note that you are detaching the created thread. That means that the OS... (by helios)
Read data from file to 2D array
 
Hello everyone, I am having trouble with an assignment where I have to read in letter grades from a ...
[4 replies] Last: If I've understood you correctly, this is easier than you think. You c... (by ufrnkiddo)
by Pampam
Divide by recursion
 
Hello, this program should divide n/(n-1) using recursion. I need it to work like - if i do input = ...
[2 replies] Last: if i do input = 6 it have to 6/5/4/3/2/1 -->This also does not seem... (by newbieg)
by oOoOo
SDL windowsurface size
 
Hello, in my SDL code the window has a smaller size then the accompanying windowsurface ? How ...
[2 replies] Last: Did you do error checking when you initialized SDL? Try this code tha... (by newbieg)
by wasey
Calculating Mode, Only First Integer Input Being Displayed
 
Hello, I'm having trouble with a program that is supposed to read a set of integers input by the use...
[2 replies] Last: I can't thank you enough for taking the time and helping me out, with ... (by wasey)
by danciu
algorithm 02
 
What is the correct answer: a. runtime error or b. 1, 0 thank you #include <deque> #includ...
[2 replies] Last: If the error in the program is fixed (use a valid identifier, say rig... (by JLBorges)
by Crim
Error on &m_Width and &m_Height
 
So im messing around with GLFW and I am trying to create a window with a viewport to make sure that ...
[2 replies] Last: Oh so I did, thank you man! (by Crim)
by B260z
Almost finished with homework, but need a little help
 
I've figure out most of the mistakes I made in the code, but I've been looking at this code too long...
[11 replies] Last: Please post your new code. (by dhayden)
by danciu
algorithm
 
What is correct answer: a. runtime error? or b. 0,3,9,2,0,0,0 ? What will happen when you attemp...
[2 replies] Last: Use an iterator adaptor like std::back_insert_iterator<std::vector<int... (by gunnerfunner)
Using boost::property_tree
 
Dear all, Having the following xml file: <A> <B/> <B attr1="value1" attr2="value2" /> <C> ...
[1 reply] : The tree does not have a function set_value(...). It is either put_val... (by coder777)
Trouble with Sorted Linked List
 
I'm converting a previous program that used a linked list to display data from a .csv file into a so...
[1 reply] : Perhaps someone will go through your 300 lines of code and give you a ... (by gunnerfunner)
error: invalid use of void expression
 
CodeBlocks... warning: dereferencing 'void *' pointer [enabled by default]| error: invalid use of...
[3 replies] Last: Cast your pointer to the desired type before manipulating it. The p... (by mbozzi)
by nomat
Trimming a string
 
Guys this program is supposed to read names from a textfile then for each name, remove all spaces an...
[5 replies] Last: Will give these a shot.... see what outcome i get (by nomat)
Alphabetical Sort Using Overload???
 
I have to write a program in OOP format that reads in student names/grades from a user provided file...
[1 reply] : I’m sure you have already solved your exercise, anyway: Your code: ... (by Enoizat)
by F95
C++ Switch Statements/Loop help
 
Need help writing a c++ program with switch statements (E), (D), and (Q) as the top level menu for a...
[1 reply] : The do ... while loop does not belong within the getFlight() function.... (by coder777)
c-string Palindrome using a do-while loop
 
I'm trying to figure out what equation should I do (after my if statement) to see if a c-string is p...
[1 reply] : What you need is another variable like Line . Before the if you c... (by coder777)
IneedHELP
 
please help me who to make a money changer using DEV C++.. thank you in advance guyss!! i rea...
[1 reply] : Have any code written? (by Hengry)
Programming Project Help
 
The code compiles but it part of the input should not accept 0 or negative values and output certain...
[4 replies] Last: Hello StrikingSparrow, You may want to read this: http://www.cpluspl... (by Handy Andy)
Pages: 12345... 54
  Archived months: [dec2016]

Cannot post in this page. To post a new message, go to the first page.