Beginners (Page 70)

Please correct Program
When is Wrong in my program please cerrect it . #include <iostream> #include <string.h> using ...
[3 replies] Last: This code works, donĀ“t forget to comment your code in the future. #... (by patriic48)
by Cobey
save value as Pointer address
Good Night/Morning CplusCplus int i = 123456; how can save Value i as address. Like: printf("Ad...
[3 replies] Last: stringstream (by Cobey)
strstr() overloading?
[3 replies] Last: What do you expect to happen, if you do: const char * foo = "Hello"; ... (by keskiverto)
Random Number Guessing
I'm pretty new to coding so please excuse me if these are dumb questions. This code needs to prompt ...
[13 replies] Last: You continue to define your function within int main(); I suggest you... (by germanchocolate)
Converting string to hex
Hello. I need to convert string of decimal number to hex. I need the string to remain string (or at ...
[7 replies] Last: Thank you all. I'd be grateful if someone link me some good sources of... (by mighty asker)
Passing Parameters As Pointers?
This is my code that I have so far and I am not entirely sure what I am doing, I need some help plea...
[5 replies] Last: You mean this? (by fg109)
Pyramidal display
I need to get the zeros in this array to display as a pyramid. I've already set it up to where just ...
[1 reply] : if (np == -1) cout << ' '; else cout << setw(2) << '0'; ... (by fg109)
Array as a Pyramid
Write your question here.
[2 replies] Last: Ignore this post, I guess the question posted twice, once blank. (by confusedengstudent)
Destructors being called twice in inheritance
: Problem solved. It is due to that I didn't put the copy constructor and also the function of copy...
[5 replies] Last: We can clearly see that the OrderedLinkedList has no data members of i... (by keskiverto)
by Lee125
Stack,queue and string.
Can I know should we use array to store the number or words. Is that wrong when we use array?
[1 reply] : No, it's not wrong. Arrays have some advantages (no runtime memory all... (by Gamer2015)
by pik
selection sorting pointers
Hello. I had written a program where 10 numbers are infiled and placed on a linked list. They are t...
[1 reply] : What do you mean by "sort pointers"? Is it that you don't want to swa... (by keskiverto)
How to create simple gui in c++?
I use SFML but it seems like I can't for the life of me create a decent menu/gui with it. Is there s...
[1 reply] : Qt provides a large API and a GUI-Designer As you can probably imagin... (by Gamer2015)
Homework question(boolean variables)
Here is what the question on my assignment says: Write a do while loop that validates an input clas...
[1 reply] : Note that = in C++ is assignment. It means assign the value on the rig... (by Peter87)
std::cin.ignore in template function
Hi, I tried to create this function for reading from cin into any type of argument. I dont know if i...
[3 replies] Last: Ohh, tnx guys :) (by etrusks)
Adding values of two linked lists
Hey everyone I've got a link list filled with hexadecimal values. I call a method that allows the u...
[5 replies] Last: That did it! Thank you so much. Great lesson learned. The only supplem... (by thomaselder84)
HW problem. pretty sure its an easy mistake...cant find it tho.
So this program will convert a temperature to either celcius or fahrenheit depending on if the user ...
[3 replies] Last: wow! Thanks fg109! i knew it was something simple. Thanks a lot!! (by fmunoz314)
Craps Casino game do while confusion
HEY EVEYONE!I need some help with this code! It is a craps game and a casino menu the rules fo...
[4 replies] Last: I suggest you break it into functions. You can call them firstRoll ... (by fg109)
by Bocian
c string search function
Hey guys, I'm trying to figure out this programming assignment but i seem to be stuck. I have to set...
[no replies]
Question about setprecision
This program reads temperatures from a file and converts then from F to C. The problem is for some r...
[7 replies] Last: Perfect! Line 56 and 62 of JLBorges post was what I needed. Now when I... (by Flakjacketx)
void function already has a body
Hello all. First time poster here. I am working on a program for school and i have an error I haven'...
[4 replies] Last: Excellent! Thank you for the link I greatly appreciate it. (by shecter)
Pages: 1... 6869707172... 83
  Archived months: [mar2015]

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