Beginners - October 2015 (Page 52)

Help with a Rot13 Program Bug
 
My program seems to be adding an extra character at the end the output file. Is there any way to stop this from happening? #include <iostream> #include <fst...
[4 replies] Last: Might that be because you forgot to remove the fin.get(c) line insid... (by cire)
I need help with a word parsing project, and I don't know where to start
 
The instructions for this program given to me by my teacher are "Books-a-Trillion Publishing Company wishes you to write a program that will read a sentence on ...
[1 reply] : http://www.cplusplus.com/reference/cstring/strtok/?kw=strtok (by closed account 48T7M4Gy)
end c++ program with a specific key
 
please tell me that how to ends any c++ program with a specific key?
[2 replies] Last: Use the GetAsyncKeyState function from the Windows API. https://msdn.m... (by integralfx)
Checking cin against hardcoded cstring
 
How do I check a cstring gotten from cin>> against a hard-coded string? In other words, why doesn't pass() return 1? #include<iostream> #include<cstdio> ...
[4 replies] Last: Oh, right. Got it, thanks. (by RealGiganitris)
by Winsu
typeid().name()
 
When we do a typeid().name() we get the name of the class which the reference or pointer belongs...but something like an id appears....Here I leave my example.....
[9 replies] Last: ehheehhe, nice introduction!!!,but the point is, I can have different ... (by Winsu)
Output and Append
 
I am trying to output information to the end of a file with | as a delimiter. However when I run it, nothing is added to that text document. Could it just be th...
[1 reply] : Well I think I figured out the issue. For the outputFile, it needs to ... (by EdWar82)
by chipp
Visual Studio 2015 Express for Windows 10
 
how to use the "normal" C++ code in visual studio 2015? i can't even hello-world-ing my computer -,-
[6 replies] Last: @chipp: I downloaded the ISO of the entire package, not the Web insta... (by closed account E0p9LyTq)
by Winsu
my own string
 
i'm creating an custom string...I'm bulding it up from simpler to complex...I'm doing the cosntructos now, but I have got stucked doing the constructor which ge...
[2 replies] Last: Definitely It's related with the String call here is my main...i mean ... (by Winsu)
by Jon15
Handling incorrect input
 
Hi, I am writing a guessing game program. My problem that i am having is that if i enter something like "wrong" it will give me an error message but if i enter ...
[no replies]
Tic-tac-code code help
 
reposted
[no replies]
by franc0
Compute student scores using 3D array
 
Why is it not starting with 1 after changing int i=1 in for loop i want to list students score from 1-7 rather than 0-6 Yes i know it's in java but i am hav...
[no replies]
Problem with memory program/game
 
Would really appreciate some help because I'm stuck and don't know what to do. The idea is to create a memory game that can be played by 2 players. In the b...
[2 replies] Last: Did not see that thread, thank you for showing it. It seems like it is... (by Makaronen)
by Dazzer
Struggling with classes.........
 
Howdy folks.... I'm struggling to get my head around classes, specifically what's being taught in this lesson: http://www.learncpp.com/cpp-tutorial/89-class-co...
[4 replies] Last: Thanks for the link, that looks useful, gonna work my way through it..... (by Dazzer)
by new1
removing chars from string
 
what was the wrong here for removing all occurence of chars [,",] string str ("["abc","ces","el","bee"]"); char chars = "[""]" ; fo...
[8 replies] Last: Hey thanks guys, but no need of removing the literals i think so i ju... (by new1)
by ortymd
memory allocation for object field fails
 
I'm writing a simple task: Adding/deleting elemets to/from a dynamic two-dimansional array (Matrix). Matrix is implemented as a struct: /*mtrxFuncs.h*/ tem...
[3 replies] Last: you may be accessing out of bounds on line 23. Also this->elmnts[i++]... (by ne555)
Forcing loop to run at least twice
 
So I know a do while loop runs at least once but how can you make it run at least twice, as I was told in my assignment that I might need to make a loop that ru...
[8 replies] Last: ? (by rojan1918)
I'm beginner. Making Purchase order system with problem in receipting
 
my only problem is how to make a receipt around this. meals, snacks, and beverages are only in price, no specific food. and sorry for messy program, hehe. Hop...
[5 replies] Last: Ey, sir. Need some info. PLease help me in receipt system, still not s... (by NoobDeveloper)
lvalue required as left oprand error
 
hey guys i need some help with my code i luked up solutions online bt ddnt find any solution am adding points to my player by two everytime the enemies are shot...
[2 replies] Last: thanx for the reply i got it to work by passing my get function by ref... (by rofhiwangae)
Looping untill absolute value is small enough
 
Okay so I'm making a program were I am measuring the approximated value of the area under a function. I'm making it so that I write the limits and then an error...
[3 replies] Last: http://www.cplusplus.com/forum/beginner/175116/ http://www.cplusplus.c... (by closed account 48T7M4Gy)
Need some info. Not executing codes. Using switch-case
 
HI. good day sirs. I have a problem in nested switch-case. the sub menus are not executing/outputting. first part: password. 2nd: >order *meal *...
[5 replies] Last: http://www.cplusplus.com/forum/beginner/175160/ (by closed account 48T7M4Gy)
October 2015 Pages: 1... 5051525354... 57
  Archived months: [sep2015] [nov2015]

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