Beginners (Page 70)

For some reason I am unable to delete character pointers
 
It gives me a weird error where a pop up comes up and says "HEAD CORRUPTION DETECTED" #include...
[4 replies] Last: Is that the \0 character? I thought that was automatically added in? ... (by Disch)
Outs won't work
 
So I have most of the code working but I can't seem to get it to send out to the text page. So if t...
[1 reply] : Does your loop work? You're not clearing the cin buffer after you get ... (by Zaita)
why wont my program let me enter data
 
I know I'm not using all my functions at this time but I need to test to make sure I can enter data ...
[3 replies] Last: Also consider reading through: http://www.cplusplus.com/forum/articles... (by Zaita)
Strings question
 
This is my first program time writing code with strings and I would like how I would do number 5? ...
[6 replies] Last: Thank you (by closed account LN3RX9L8)
Why won't this compile?
 
I am using Visual studio 2010 to write my C++ code. The syntax of this code is right (I think) becau...
[5 replies] Last: It's one way declaring that an array is to be passed to the function. ... (by Chervil)
Where should "using" be placed
 
I am writing a program that has one header file. However, I have always put "using namespace std;" ...
[2 replies] Last: Thank you, I was confused about this convention and I'm trying to stic... (by JayRyGeo)
by giblit
Console colored text
 
This works perfect if I do something like print("Hello world", red). void print(const string a, con...
[2 replies] Last: could you please give me an example I am a bit confused I thought that... (by giblit)
Bubble sort more than 2 vectors? help!
 
TLDR; for (int j = 0; j<months.size()-1;++j) (int k = 0; k<years.size()-1;++k) (int...
[6 replies] Last: @Olysold Hey Thanks a lot for respond :D. Using fg109 post worked. A... (by Melicalol)
Explanation help please
 
Can someone explain what is happening in this code? What is happening in the all the loops? I know ...
[4 replies] Last: There are some things wrong with the code. [code firstline=37] ... (by fg109)
Users Entry Causes Segfault
 
I need the user to enter an int and press enter. If they enter several chars before pressing enter i...
[no replies]
Need help with my Structs
 
My program allows a user to enter in player names and their stats and I need to use structs. I also...
[5 replies] Last: Thank you kooth I finally got to the point were I can compile after co... (by ejhernandez381)
Linker error?
 
It keeps giving me a Linker error in the DaysOut function and also the findAverage function. I have...
[2 replies] Last: Thanks...I guess I overlooked that. Seems so simple. Thanks a lot! (by MrBrewski99)
CodeBlocks IDE
 
I feel CodeBlocks is one of the best IDE's out there for beginners. Tho what annoys me is, that I d...
[4 replies] Last: Did you accidentally change every color to the same color? (by lmsmi1)
Command line argument (filename)
 
Some of the arguments my program takes are file locations. As file names can contain a space the arg...
[2 replies] Last: Enclose each file name in double quotes. (by vlad from moscow)
Help with initializing a 2 dimensional array
 
I was wondering if there is a better way to factor the following array initialization. And please...
[1 reply] : As I have understood the result array should look as 1 2 3 4 5 6 7 8 ... (by vlad from moscow)
by zantax
Grids+Movement
 
Me and a few other kids are in a coding class and have been given the project to create a game. We t...
[no replies]
by hmdsp5
Creating a file in c++ (1,2)
 
Hello guys, i have a problem at storing some infos of different type in a file.I created a struct so...
[29 replies] Last: could you please delete it? (by hmdsp5)
Explaination Help (one more)
 
What is happening in this code? why is the if(a==0 || b==0) in here and what is it doing? what is...
[4 replies] Last: Thank you everyone for the help! Trying to get better at this ha (by bruntmjust)
Leap year Fix.
 
Hello all, I am very new to C++ here is a calender code that prints each date of the month that th...
[2 replies] Last: Thank you sir, I fixed it :). (by Melicalol)
by Slyke
Data not being stored in void * struct.
 
I have the following struct: struct memoryPointer { int memoryIndex; void * memoryLoc; in...
[6 replies] Last: It looks loke that in the loop for (int i = 1;i<size;i++) { ... (by vlad from moscow)
Pages: 1... 6869707172... 136
  Archived months: [mar2013]

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