Beginners - April 2013 (Page 9)

Illegal cases and brakes
 
This code has "Illegal cases and brakes." I don't know what's wrong whith it. char encryptMen...
[2 replies] Last: @Daleth Thanks it worked (by Besm Osman)
Not able to get the average for output
 
I am trying to run this program and I can't seem to get the average output on screen. Here is the qu...
[5 replies] Last: The function should return, as a double, the average number of days a... (by SamuelAdams)
PDCurses
 
Does anybody know of any good tutorials for PDCurses, preferably in the form of videos? Thanks to wh...
[1 reply] : http://www.youtube.com/results?search_query=pdcurses+tutorial&oq=pdcur... (by Fransje)
Having a hard time understanding Member Initializers
 
So I watched this video about Member Initializers: http://www.youtube.com/watch?feature=player_em...
[3 replies] Last: Thanks guys. This helped me out a lot :) I'm still a bit confused, bu... (by TelephoneKiosk)
terminate called after throwing an instance of...
 
Hi guys, I'm writing a program in C++ but now I get this error of which I've never heard but I thin...
[no replies]
Question about reading a string
 
Is it possible to reada string that is between two words? For example, I have a text: cout << "1...
[1 reply] : you can use combination or rfind and substr to accomplish this (by pilla)
Arrays and Multidimentional Arrays
 
I want to expand my comfort zone and start "reading from files more". In school, we are at multi-di...
[1 reply] : > That my best solution would be to read as a 1D array and then > res... (by JLBorges)
Tic tac toe
 
Is it just me? Or is there ALOT of if statements in games like Tic tac toe? Or is there alot of if s...
[2 replies] Last: What went through my head: http://postimg.org/image/41t1hkz9z/ Disch... (by cire)
Confusion with C Strings
 
Please explain me this code step by step char s = "hello"; // s here means string for(char...
[2 replies] Last: I'd totally forgotten about the null terminator! Thank you sir! You sa... (by Dilliwala Wella)
using string in vector
 
I am trying to use string in vector, but an error comes out. error: no match for 'operator>>' in 'f...
[10 replies] Last: Finally it works, thank you for the help. (by closed account oLC9216C)
How do I make a function global?
 
I want these two functions to be able to be usable by all my other .cpp files #ifndef function_h ...
[3 replies] Last: Edit: Removed my third copy of essentially the same answer. (by FSchwartz)
by jvk971
Tic-tac-toe game runtime error
 
I have already asked for help once before about this game. The feedback i got was great, and i fixed...
[5 replies] Last: Yay! :D Finally, it works the way it should. Thanks for the help every... (by jvk971)
by badz
Nested Loop: confused.
 
Im just confused on how does a nested loop works, i mean how to read such one for(int i = 0;...
[5 replies] Last: thank you so much sir/s ... now i get it.. thanks so much (by badz)
What's wrong with my code?
 
What's wrong with my code? I get 2 errors, 1: illegal else without matching if line 93. and 2: end o...
[5 replies] Last: yea I'm just learning functions now in the PDF i'm learning from. Than... (by closed account LyUoGNh0)
Function returning classes
 
Dear all, I have a problem with a function that returns a class defined by myself. The code is co...
[4 replies] Last: Here you are using the copy assignment operator C = catV(A,B); But y... (by vlad from moscow)
by sis007
Sudoku, Generating number in a board.
 
Write your question here. Hi everyone... I'm writing a program for sudoku puzzle. so I'm done crea...
[1 reply] : sounds like you need to assign each piece a number, and use a random n... (by SamuelAdams)
Question
 
An engineer keeps an inventory of car parts, but on paper. The usual operations on his ‘inventory ...
[1 reply] : You don't need to double po post, just update one. http://www.cplusplu... (by SamuelAdams)
(Inventory Control System) Help Me Please!
 
(Inventory Control System) Help Me Please!
[1 reply] : You don't need to double po post, just update one. http://www.cplusplu... (by SamuelAdams)
by lmsmi1
Read Syntax?
 
I have some code syntax like this: IOSTREAM io; io.print("Hello World!"); io.pause(); This...
[no replies]
Simple Number Encryption
 
Hi. I am trying to write a function that codes a number with arbitrary length. The number needs to ...
[10 replies] Last: In the end i figured that it would be easier to write my own pow funct... (by Aleksandar0101)
April 2013 Pages: 1... 7891011... 83
  Archived months: [mar2013] [may2013]

This is an archived page. To post a new message, go to the current page.