Beginners (Page 91)

by h4ever
how to get char array position from token
When I run this code and break it on the last line, I want to see position to which the pointer "tok...
[3 replies] Last: Do you know, that is is C, not C++? Also, you are not doing what I did... (by bugbyte)
'If' statement confusion
Hi everyone, new to the forums here - as well as coding in C++. Trying to make the old favorite nu...
[2 replies] Last: Thanks man that's done it. And I wasn't aware of that, I'll try and st... (by Dowhnbeat)
pointers exercises
can someone give me exercises on pointers? or give me a link i was implementing my game with poin...
[6 replies] Last: @MiiNiPaa second is to be mutable non-owning references to objects o... (by Lorence30)
by anhnha
Format data using format string 'pszFormat'
Here is a section code in cstring.h to format data. It seems to be very complicated for me (just kn...
[7 replies] Last: Thanks for the reply! Variadic arguments allow a function to accept an... (by anhnha)
Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
I am working on a project in C++ but I am having some difficulties. When I try to build/compile my p...
[1 reply] : What IDE are you using? Are you sure the compiler is installed? (by Peter87)
Sorting letters in a string/ comparing strings
Hello Guys! Super Beginner here! I just want to ask about sorting letters in a string. So below is t...
[2 replies] Last: Ok Joe. I'll message you my code tight after I revise it. Thanks and G... (by Ishan23)
by Deeler
Getline gets 2 words at a time while searching for ' '
Hello, I've got problem with getline(), I'm trying to load all words to vector from a file. ...
[3 replies] Last: inf.txt: w - 199 r - 114 o - 111 n - 110 g - 103 ; - 59 //discard ... (by anup30)
Accumulator difficulties
The code is nowhere near finished but, my accumulator isn't working for health and boss_health and I...
[3 replies] Last: You are passing your parameters by value, meaning that the functions r... (by cire)
C++ Primer doubt
Hi, I am a beginner c++ programmer. I just started c++ primer and am working on the exercises in the...
[4 replies] Last: Do I simply save the code as sales_item.h in the directory; and then ... (by dhayden)
by nasser
invalid types ‘int[int]’ for array subscript
I'm trying to make a simple console RPG game This is .h file #include<iostream> #include<c...
[3 replies] Last: .h file Lines 1-3: I don't see any use of iostream, ctime, or cstdli... (by AbstractionAnon)
by adi94
Problem reading from file
Hay, I have a problem with the below code: heder.h #ifndef HEDER_H_ #define HEDER_H_ #i...
[no replies]
Undefined Reference to Function
Hello. I have been learning C++ for about 2 months and I have a problem with a program related to th...
[1 reply] : string int2... (by ne555)
Array of ten ints
Hello, I decided to move on with the exercises, here was my task: 1. Allocate an array of ten ...
[3 replies] Last: int* a = new int {100,101,102,103,104,105,106,107,108,109,110}; You... (by bugbyte)
Making an one-line input
Hello I was wondering, some applications do have a one line input. Like: myApp -o file.txt --e...
[5 replies] Last: That's it bugbyte! Exactly what I needed. Thanks a lot! ;-) Also than... (by Nielyboyken)
Why am I not getting anything on screen?
Im trying to get a randomized slot machine to work. But I can seem to get the symbols to show up on ...
[2 replies] Last: Is this by any chance what you are trying to achieve? I advise using s... (by bugbyte)
Can't firgure out member function error
I keep getting the member function error and have no idea why. Perhaps someone here could be of hel...
[4 replies] Last: That makes a lot of sense. Thanks again! (by bandito)
by tr1944
Abstract classes
Greetings. I have an abstract class, call it C, with two subclasses C1 and C2. In classes C, C1, a...
[3 replies] Last: He means something like: struct C { virtual bool HasProp1(p1_t p1... (by MiiNiPaa)
help?? graphical part of program
Hi there, Now, I learned the language, i want to start making windows forms and command buttons,...
[4 replies] Last: Have a look at "C++ GUI Programming with Qt 4" by Jasmin Blanchette a... (by benbalach)
[Linker Error] Undefined reference to..
Hello Guys! I just want to ask about this error that i've been encountering on my program. Can someo...
[10 replies] Last: @AsbstractionAnon Thanks! Its a big help! Godbless! (by Ishan23)
Voids, structs, and main
Hello I'm trying to make a general variable which I can use in all functions using Structs. Bu...
[3 replies] Last: Thanks! :) It's fixed now. (by Nielyboyken)
Pages: 1... 89909192
  Archived months: [dec2014]

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