Beginners (Page 2)

by vrivas
32767!!!!????
 
Hi this is my first time creating a C++ code. The task is to ask the user for ten numbers, determine...
[2 replies] Last: min = n; max = n; n is uninitialized so this is undefined be... (by giblit)
undefined reference to `WinMain@16'
 
Hi, i am super noob in c++ programming i actually don't have a programming question yet, but a lot ...
[3 replies] Last: In Code::Blocks the option to change this is under: Project -> Propert... (by Computergeek01)
Time between text
 
Ok I know the title is misleading but hold on. I want time between each line of text. For example I ...
[3 replies] Last: Nevermind, I got it to work. Thanks for the help AbstractionAnon! (by TheAnarchist)
How does this compile
 
The following code has a problem, but compiles and runs fine int &get(int *arry, int index) {...
[2 replies] Last: We are passing ia, to *arry which would yield a pointer and not the a... (by AbstractionAnon)
Encryption Program help
 
I am trying to do the cipher program, but my code seems to encrypt all the characters, how can I jus...
[3 replies] Last: As I said you don't need the for loop, just the word.at(0) statement (by codewalker)
by zwilu
Pointers versus References
 
Hello! What are the differences between pointers and references? What are the advantages and disa...
[17 replies] Last: the only difference being that the same location as some variable som... (by zwilu)
checking 2 arrays
 
I have to check 2 arrays to see if the characters are the same in both spots and the characters have...
[1 reply] : Line 7: index is unititialized. You're going to go through the loop ... (by AbstractionAnon)
Binary Compression
 
I'm currently taking a beginners C++ class and this program has been throwing me for a loop. I've co...
[3 replies] Last: That has helped quite a bit so far. Thank you! (by SilentReverie)
<Vector> needs to be set to an array
 
I have to set the vector in this for loop equal to an array that I pass to it in the containing func...
[1 reply] : What is line 11 doing? Is it supposed to be defining a vector object?... (by MikeyBoy)
Text Files
 
Hi guys. I need to write a program which reads from a text file the elements of 2 given matrices. ...
[5 replies] Last: don't worry I've figured it out! thanks for all the help (by dave499)
Use pointer to pass an array of structs into function
 
I'm making a code to validate login information in the console. I'm trying to use a linear search fu...
[1 reply] : Line 19: You're attempting to declare a typedef, but don't give the t... (by AbstractionAnon)
Invalid Conversion Error
 
Hey guys, I'm in the middle of writing a program, but I came across this error that I can't seem ...
[5 replies] Last: I had already figured out line 155 (I set my program up not to return ... (by psychoticbear)
Help deleting a line from a file (fstream)
 
Hello everyone. I need to delete a specific line from notas.dat, but instead of that, my code delete...
[4 replies] Last: I already tried... but didn't work either... when i do that, it delete... (by dualdark)
by Aceix
Programming editors on Xubuntu
 
Can anyone suggest a very good and free editor modified for programming on Xubuntu(GNOME). Tried GV...
[2 replies] Last: Checked it. Cool themes. You know how to build with arguments? Aceix. (by Aceix)
BEGGINER CLR C++ FORM indications needed
 
So first of all, thanks for your help in advance. This is my first post, this is very important to m...
[6 replies] Last: I JUST WANTED to thank you and tell you that i managed to make it work... (by Leviatan1)
NEGATIVE NUMBERS WITH RAND
 
Write your question here. Why am I getting negative numbers when using the rand function? /...
[3 replies] Last: sort(begin(haystack), end(haystack)); What does end(haystack)... (by AbstractionAnon)
by kox
reference to an element of char array
 
Hello. I'm learning about pointers. I'm wondering why reference to an element of char array doesn't ...
[3 replies] Last: Ok, thanks. (by kox)
Q, 4 , 5 ,6
 
Hi Guys, Kindly help me on below : 4. An array contains the elements shown below. Using the bi...
[1 reply] : for num 6: the function i wrote as : 6 = total / 2 Average = 3 is t... (by Aceix)
Program
 
Hi Guys, Aprreciate if anyone can help me out on this. 1. Write a program that reads integers ...
[1 reply] : Start of with what you know and post/ask specific questions if you don... (by codewalker)
by Subo93
2D array Print the winner.
 
I want to print the highest scored player.. How can I modify this program for get that output.? th...
[1 reply] : So this is your table of 3 rounds and 4 players. array tbl p... (by wildblue)
Pages: 1234... 130
  Archived months: [feb2014]

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