Beginners (Page 75)

Converting minutes to hours and minutes with my code
 
Hi people, I'm trying to do this small program for at least 2 hours and that's what I got so far. It...
[5 replies] Last: aaaah so that's what was wrong! thank you all for ur help! (by Dizzybee)
SIGSEGV when using libtcod (TCODConsole::root->...)
 
Hi! I'm a beginner with C++ and have started with this Roguelike tutorial: http://codeumbra.eu/serie...
[1 reply] : OK... I managed to solve this as suggested here: http://doryen.eptalys... (by Nallebeorn)
by CDavis
arrays with dice game
 
So I've been having issues with array's and this last problem really has me. Basicly I need to provi...
[no replies]
Trying to split an input into two separate strings for two different functions?
 
So I'm just getting into C++ programming, and I decided to go ahead and make a very short text adven...
[14 replies] Last: Here's how you can do it: void GetInput() { string input, word, a... (by a k n)
A Little Help PLEASE!!! (C++)
 
First of ALL my C++ Version: Borland C++ 3.0 So, the question is to make a code for the following: ...
[4 replies] Last: The way I would recommend approaching this is to avoid the use of the ... (by Chervil)
Trailing Return Types
 
Im struggling to understand Trailing return types. Ive bee searching for simple example to understa...
[4 replies] Last: I see.. Now i get it. Thank you very much MiiNiPaa. Helps me alot. (by skadush)
Want to say Hello
 
Well im craig 28 from essex in england im mainly a roadside mechanic Fixing cars not code so any adv...
[no replies]
Allocating normal variables (int ?) ?
 
Hi, I getting familiar with allocating, but all I have been allocating is arrays int n...
[3 replies] Last: It work. Exactly like it should. What your problem with it? If you wa... (by MiiNiPaa)
Switch not working
 
My problem is on line 12. When I assign tempNum = 0, the program doesn't make the switch to the REC...
[5 replies] Last: I wouldn't do this with switch at all. If you always go into the INITI... (by Serious Sam)
Core dump after using memcpy
 
The core dump happens on the first step of "delete game.board ;" (line 65)... This only happens wh...
[2 replies] Last: Also when you will try to modify your board later, you will modify str... (by MiiNiPaa)
Cannot find the error
 
We were told that there is a major error with this code but it still manages to run. I know it has s...
[2 replies] Last: As MiiNiPaa has said, the function returns a pointer to a variable whi... (by xismn)
by dvvahe
sort algorithm
 
HI there is a string of 0 and 1, e.g. 00010111010 I want to sort it. 2 pairs can be switched on e...
[3 replies] Last: 10 1 01 0→0 11 1 00 →000111 Also I did not find any mentions tha... (by MiiNiPaa)
by Sgreen
Loss of integer
 
Hello, I am practicing a problem in Ch3 of Friedman c++ book, where functions are introduced. The pr...
[11 replies] Last: #include <iostream> using namespace std; int timeDifference(int, in... (by gwslow)
bool true/false print out
 
So im reading a book on C++ and it asked me to input this code. #include <iostream> using...
[3 replies] Last: You can also do std::cout << std::boolalpha; or std::cout.boolalpha... (by giblit)
The point to using classes
 
I'm making a program that has a lot of functions, but my teacher told me to use a class. Why do I ne...
[6 replies] Last: I want to add I totally can relate and that trying to get why OOD (obj... (by Bdanielz)
Help in porting C to python
 
Hello, I need a small help in porting this code to python. https://github.com/alguien-gh/scripts/bl...
[2 replies] Last: Thanks! Can you port it to python? (by Omega11)
[Win 64] confused with constructors
 
I have to make changes to a previous lab I've done according to the instructor's requirements, and I...
[3 replies] Last: sorry about it, I have formatted my code :P (by s2734d512)
No match for operator error.
 
This is a code I am trying to run from C++ Primer by Lippman. However, I am getting this error in li...
[9 replies] Last: Well, it seems as though either the book hasn't explained things very ... (by Chervil)
Does memory address changes ?
 
Hi ! I am currently learning C++, I am now experimenting with Pointers. now I created a very tiny p...
[2 replies] Last: They change ,you don't have to care about them and that's one of the b... (by a k n)
storing variables function
 
I'm not sure how to really call the function Seconds and store the result in two different variables...
[6 replies] Last: thank you so much!! that solves everything (by serrld113)
Pages: 1... 7374757677... 86
  Archived months: [may2014]

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