Beginners (Page 50)

by Kman
Deep copy of a list?
 
I need to perform a deep copy of a list, but I'm not sure how to continue. Here's my struct declarat...
[13 replies] Last: It doesn't matter where I add it, so the end would be fine. Length is ... (by Kman)
problem with converting base code
 
hi, i have written this code for converting from base 10 to base 2 but it dose not work for numbers ...
[1 reply] : It sounds like your unsigned long is 32 bits, which has room for only ... (by dhayden)
Operator== overloading
 
As far as I have read. If I want to access a private member of a class, I should use friend . If I ...
[3 replies] Last: @ iHutch105 : Your op== is a member of Log. A member has no need for g... (by keskiverto)
by bPrice
What does "buffer" mean?
 
I have read Wiki, I have read a lot of other definitions. Still I feel very confused every time I co...
[1 reply] : It is like your wallet. You can put money into wallet. The wallet cann... (by keskiverto)
Enigma: A cipher program
 
Sample Output: ***** ENIGMA ***** Encrypt Decrypt Exit Enter choice: 1 ***** ENCRYPTION ...
[1 reply] : What do you need help with? (by chicofeo)
Merging two files and the output is in order.
 
I'm trying to write a program that reads two input files and the output lists all lines from both fi...
[no replies]
Printing the Size of Vector String Elements
 
I have created a program that takes user inputs and places the inputs of strings into a vector. My i...
[2 replies] Last: Yes! It worked! Thank you so much. Oddly enough I used that same synta... (by tehHuzzlenut)
hi why cerr make my program so slow?
 
ok i pratice my programming in uva. When I submit this code (uva 10284) #include<bits/stdc++.h> us...
[1 reply] : > cerr is very slow due to having no buffer? std::cerr does have a ... (by JLBorges)
Trying to exit my program after a "while"
 
I'm writing a sudoku game and my only problem right now is that I can't get it to terminate the prog...
[2 replies] Last: thanks (by aerichsen)
Inverted pyramid help
 
so im suppose to make a inverted pyramid with 3 for loops with numbers going downward but i cant sol...
[1 reply] : 9 8 7 6 5 4 3 2 1 2 3 4 5 6 7 8 9 ... (by chang123)
Losing input stream?
 
I've been at this for a while. This section reads a text file into a structure array. If the array ...
[no replies]
by CSgo
Nested Loops - Help!
 
Objective: Implement nested loops in a program to assign grades to students in a class at the end of...
[no replies]
by Tonlee
An easy question
 
Hello, I am reading Thinking in C++ V2, there is something I can't figure out. The code in the...
[1 reply] : > but the parameter here requires to be function object See how it is ... (by ne555)
Any advice on cleaning up my program
 
I have my program but it looks bulky to me. I may be wrong but here it is tell me what you think. ...
[2 replies] Last: Hi, The main program asks for a number to calculate primes until a gi... (by TheIdeasMan)
Why does my code not handle negative numbers for reversing?
 
My program takes an integer negative or positive and outputs the reverse. If the reverse overflows o...
[4 replies] Last: I changed it to something that works with negative or positive, but do... (by JoshuaStudent)
by marrom
No output window
 
Hi I tried to run the hello world .cpp file, but no window is formed. And I've tried system(pause),...
[3 replies] Last: First press F9 to compile. If that is successful, press F10 to run the... (by Chervil)
Why is my program crashing/segmentation faulting?
 
So for an assignment, we're making Huffman trees, and I'm trying to write a function that finds the ...
[9 replies] Last: Ok Ill try that. It would appear that it crashes during that. (by vaultDweller)
Problems with vector sort
 
Im having trouble with vector sort, problems are in comments in code. Please let me know if more inf...
[2 replies] Last: Sorry! line 16 (for loop) was not supposed to be in there, that was fr... (by b29hockey)
by Otomai
Mad Libs Game Help
 
So I made this Mad libs game but I need to make it so that no string objects are passed to the funct...
[no replies]
by ibbi
Creating members of class automatically?
 
Can we make a function which automatically declares a member of a class and then we can call the fu...
[1 reply] : What are you trying to achieve? (by keskiverto)
Pages: 1... 4849505152... 89
  Archived months: [feb2016]

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