Beginners (Page 3)

Exhausted my resources on function does not take 0 arguments error
 
Hello, I have been working a long time(days) trying to resolve this error. I have researched online...
[4 replies] Last: http://www.cplusplus.com/articles/z13hAqkS/ (by ne555)
by anzhit
Pancake Gluton Problem
 
I was attempting the pancake glutton problem http://www.cplusplus.com/forum/articles/12974/ the last...
[3 replies] Last: thanks nkendra ill try learning the sort function and vectors (by anzhit)
help with two transactions
 
i need help with writing a code for lets say one transaction and then for the second transaction the...
[3 replies] Last: You add them together... double totalSellingPriceBoth = totalSellin... (by Daleth)
Random numbers with modern c++ conventions
 
Hey Everyone, I was converting some code to practice a random number generator method I was readi...
[7 replies] Last: Thanks for your post. I can stop troubleshooting now! (by RastaWolf)
Help! Problem with bool returns and loops?
 
I guess I'm not sure what my problem is here. The following program is based on a class assignment, ...
[2 replies] Last: Dang, that was quick! I knew there was something fishy about that line... (by citizenkoehn)
Bubble sort 2-D array Alphabet
 
I am trying to sort a 2-d array using bubble sort. I get the error Undefined symbols for archi...
[1 reply] : Have you tried removing the asterisk on lines 6 and 30? (by kevinkjt2000)
Pointer help
 
Queue::addItem() is linking the new item on the end ok, but isn't updating pTail to point at the new...
[3 replies] Last: Try this: (I have not tested it yet) void Queue::addItem( char *pDat... (by Smac89)
Socket tutorial
 
Can anyone suggest a good socket tutorial with no prior experience needed?
[5 replies] Last: boost.asio tutorials don't require C http://www.boost.org/doc/libs/re... (by Cubbi)
Random Permutations
 
I am at a loss. I have gotten some answers and I have tried looking it up but I cannot find exactly ...
[2 replies] Last: Well, it didn't help me write any code, but I can see why you linked i... (by kyiro37)
The First 50 Primes
 
Hello! I was reading a book about C++-programming and encountered a rather difficult exercise, it'...
[9 replies] Last: "Why is there a multiplication sign..." That is because it is an indir... (by Daleth)
Array Merging Problem in MergeSort
 
Write your question here. #include <iostream> #include<cstdlib> using namespace std; vo...
[1 reply] : Because you would be accessing `b' out of bounds. The valid index for ... (by ne555)
unusual function definition
 
I ran into the following definition of a function that looked rather unusual to me. Can somebody exp...
[6 replies] Last: Same way you initialize them when you declare objects. struct A{ ... (by Daleth)
Headers and Include
 
I read the "Headers and Includes" article and wanted to try it out, but my compiler gives me an erro...
[8 replies] Last: Thank you all very much (especially Disch). Works like a charm now. =... (by Roundthecorner)
Function Object Template
 
I wrote a function object template to practice working with templates and included a function templa...
[2 replies] Last: Yes, I see it now and it makes perfect sense. I thought the third argu... (by R10111001)
implicit casting?
 
I am just making sure I understand the difference between the two codes correctly. I am creating tw...
[1 reply] : rect is an object of type CPolygon as it was defined by your. *(new Cr... (by vlad from moscow)
Need help recording data as a program runs
 
I'm working on a simulation that runs over multiple 'simulated' days, and need to figure out how to ...
[no replies]
how to keep the cmd prompt open
 
i want it to display my inventory and stay there if i select 'y' when it asks me to instead of immed...
[2 replies] Last: I would recommend using std::cout << "Press ENTER to continue..."; ... (by Zereo)
by SmOgER
how to assign characters with empty spaces into single string
 
If i have potatoe onion tomatoe yeah somewhere in txt and I know that it's total of 26 characte...
[11 replies] Last: Managed to fix this by ending line before reading chars with in.ignor... (by SmOgER)
__TIME__ !change value
 
Hello I want to add time that change every 1 second to my simple c++ game I am working on now, but i...
[1 reply] : __TIME__ is a string literal in the form "hh:mm:ss" containing the tim... (by AbstractionAnon)
No Value-command?
 
Hello! I was just wondering if there is a command that tests if a variable has a value or not. As...
[8 replies] Last: If you find the question answered, you should mark the thread as solve... (by Marcos Modenesi)
Pages: 12345... 96
  Archived months: [apr2013]

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