Beginners (Page 71)

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)
by uter
How define the quanity of processes for MPICH program
Here is my code for mPICH program. But it do not work.Should I define the needed quantity of proces...
[no replies]
by priggs
Homework problem
Trying to get this to run and it keeps stating I haven't initialized variables r and n. I'm just sta...
[3 replies] Last: Thanks. Looking through the tutorials and such. This is a great resour... (by priggs)
Reading words from a text file and replacing them.
I'm trying to write a program that prompts the user to enter the name of a text file. Reads from the...
[1 reply] : This seems like a basic problem. You should try writing a rough draft ... (by toad1359)
i have one little problem
int main() { int AskRange; while ( true ) { cout << " Please enter a value tha...
[10 replies] Last: By the way, just a thought. Possibly it's set up so that you realize i... (by cactus)
how do you save my code
how do i save my code as a project, so when i open it from my flash drive i will be able to compile ...
[1 reply] : Assuming you know how to create a project. You just simply Go to file... (by TarikNeaj)
by Lee125
Stack problem
I try to solve this problem but still not succesful. The number zero still print out? what should ...
[1 reply] : Its because you first insert the 0, and then break the loop. You dont ... (by TarikNeaj)
Baseball program (intro to creating Value-Returning Functions)
My question is: Does my program use the int baseball() function that I created? Everything works now...
[2 replies] Last: yes, thank you. Much easier. I didn't know that. =) (by Sarmonroe)
draw a circle
hello guys :) simply the problem is that i wanna to draw a simple circle put when i use the functio...
[16 replies] Last: You can use the library SFML. You can draw a circle there in 2 lines o... (by TarikNeaj)
Writing from file to structure
Hello everyone! :D So I have this .txt file: 1 - The Witcher - 2015 2 - Batman - 2015 3 - XV -...
[9 replies] Last: Ok, I've followed your advice! I have all my questions answered. Than... (by Evenilink)
Pages: 1... 6970717273... 83
  Archived months: [mar2015]

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