General C++ Programming - April 2009 (Page 13)

by halo
What is The wrong
 
i think i have a problem in the merge function ... the cout is not soreted will: #include <time....
[no replies]
How to count lines in streams?
 
I'd like to parse an ascii file using the standard fstream lib. If an error occurs during parsing ...
[no replies]
What am I doing Wrong??
 
This is what I have to write at the bottom is my program what am I doing wrong? Write the C++ cod...
[4 replies] Last: post using the code button (#) it makes it easer to read void howm... (by CrimsonAngel)
by upo
Combining two images together
 
Hi guys, I need assistance in this. I am supposed to make a function:combineImage(const Image & im, ...
[no replies]
comparing string in file
 
Well forgive me for the possibly obvious question. It's been 3 years since i've progammed in c++ :P ...
[2 replies] Last: while its an INI right now, though I havent formatted in the input lik... (by Seraphimsan)
how to get pixel color of a color image
 
Hi Guys, I am using a webcam to captures color image. I take the raw data direct and process it o...
[no replies]
Bool question by using function
 
Here is the code and I am just a bit confused or curious about if there is an alternative for it. ...
[5 replies] Last: Return can return anything. True and False are valid return options. (by eker676)
Odd errors (sorry for the bad title)
 
Hi, It's me again. I'm making a program for my C++ class (it's late already), and I'm getting some e...
[1 reply] : one for loop is missing the initializer and has an extra semicolon, ma... (by Gumbercules)
Void
 
Do I use a IF, WHILE, or DO-WHILE funtion here I am confused with this part of the program. Help! ...
[8 replies] Last: well, the easiest way would be to use an int for nindex, which is a mo... (by Gumbercules)
queue
 
so i made this queue any my teacher wants me to be able to run it though this: void show(con...
[6 replies] Last: wow xD i an currently learning this xD see i tryed doing it inside t... (by CrimsonAngel)
Printing part of an array
 
I Have this assignment that wants me to print out up to a certain limit of an array; basically the a...
[1 reply] : Do you mean a value is used to signify the end? Just have the loop con... (by Gumbercules)
Square Display
 
I am trying to make a program that ask the user for a positive integer no greater than 15. The progr...
[1 reply] : Do you know how to use a loop to display n number of X's? And can you ... (by Gumbercules)
What Do You Think Of This Simple Nslookup? C++
 
What do you think of this code in terms of structure, and readability? Can you understand whats goin...
[3 replies] Last: Good to know that. Thank you (by f ben isaac)
reading from a file using a two dimensional array
 
hi, i have been going crazy trying to figure this out so if anyone can help that would be great. i h...
[3 replies] Last: I hope this helps you understand. If you have questions about it, feel... (by Gumbercules)
by jsmith
std::distance and const vs. non-const iterators
 
Hmm, so #include <iostream> #include <iterator> #include <vector> struct Foo { typede...
[5 replies] Last: Aha... why did I not think of that??? That'll work... no more lines... (by jsmith)
Function for templates
 
Hello, I have a template where there are some functions which are correct only for some of the da...
[10 replies] Last: Can you post an example that is closer to what you are trying to do? ... (by jsmith)
end of program
 
What can I put at the end of my program to keep the window open? I already have a default.
[1 reply] : try reading this article: http://www.cplusplus.com/forum/articles/7312... (by Bazzy)
Also, can anyone write this program?
 
rtyu
[9 replies] Last: Yeah we have a pretty good little community here heh :D (by Mythios)
change default stack size
 
i read it about somewhere that windows xp provides a default stack size of 1MB. Can i possibly chang...
[2 replies] Last: thanks that helped (by kaidranzer)
could I get assistance rewriting the first program
 
The first progam is supposed to take two input numbers and output the largest of the two. I don't k...
[2 replies] Last: Thank you very much. (by Rowland1965)
April 2009 Pages: 1... 1112131415... 20
  Archived months: [mar2009] [may2009]

This is an archived page. To post a new message, go to the current page.