Beginners (Page 53)

seekg() not working as expected
 
I have a small program, that is meant to copy a small phrase from a file, but it appears that I am e...
[2 replies] Last: C++11 made it possible to seek away from EOF. I think the problem is ... (by Cubbi)
makefile help
 
Will someone please explain what is wrong with my makefile and how to fix it? I cannot figure out ho...
[2 replies] Last: So I added ncurses in an options box for linking libraries and the pro... (by heyyouyesyouiloveyou)
Eclipse, cin / input
 
Hello i am using Eclipse and don't know how to test my program when i use cin for example when my pr...
[2 replies] Last: I have installed the cdt for C++ if that's what you mean? (by Jacobhaha)
SFML Vector problem in header file (class)
 
Here is the code: #ifndef BALL_H #define BALL_H #include <SFML/Graphics.hpp> class Ball { publi...
[15 replies] Last: hehe not a problem! ^_^ you helped me a ton until now and I'm really g... (by chippzanuff93)
by brekki
Keeping track of smallest/largest numbers
 
I know the answer to this is out there but I'd rather get hints to help me go in the right direction...
[3 replies] Last: #include <limits> //... double smallestNum = std::numeric_limits<doub... (by booradley60)
by sha
reshape the matrix to vector
 
Write your question here. Hi I want to convert the matrix to vector and vice verse.Is there an...
[no replies]
Something wrong with iostream
 
Ok so since a few days ago i can't compile anything with iostream header, there is no error in compi...
[4 replies] Last: Are you using an IDE? Are you running your program from IDE? (Yes -- t... (by Duoas)
Create a synth with C++ ?
 
Hi, I'm an Italian student and I love both Music and Programming. I'd like to create my own virtual...
[6 replies] Last: Thanks for all your answer. If this is actually a very hard project wh... (by JackHand)
Why is this fuction included in initialiser list?
 
Hello again, I've just started the SFML Game Development book. The first chapter deals with setti...
[no replies]
by Bandy
If else and variables practice
 
I am new to programming and after reading the tutorial for "if else" commands I wrote this small pro...
[2 replies] Last: Yes, excluding the loops. It was a practice challenge I read on some o... (by Bandy)
Array objects acting like Quantum particles (explained inside)
 
So I have these variables. They do certain functions (obviously). Anyway it seems that if I try t...
[13 replies] Last: Thank you everybody who has been helping. Let me see if I can make th... (by nick050183)
by Ch1156
Drag an object with the mouse SFML
 
I want to know how to grab an object with the mouse and drag it to a location and drop it there, i t...
[4 replies] Last: Bump Please help (by Ch1156)
by cole1
Non existing output
 
This simple code should determine if a two digit number contain odd digits only mixed numbers or eve...
[3 replies] Last: Thanks to both of you ! (by cole1)
Which approach is better?
 
Passing a user defined type by value is as expensive as returning a new one? The second approach ha...
[2 replies] Last: Thanks! (by asus1575)
Factorials
 
Hi, I have been tasked with using the for loop to create the factorial of 20, which should be 24...
[1 reply] : Please note, that this is not a homework site. We won't do your homewo... (by keskiverto)
Help with declaring non numerical values in c++
 
Write your question here. Im a complete begginer in c++ so im having diffuculty with this problem...
[5 replies] Last: Thanks guys. Also the =="single" worked and cout first before cin. I ... (by spOOn2014)
having problem with using strings
 
hello everyone, its been two days since i started c++ tutorials from this site and honestly its the...
[2 replies] Last: thanks lendraDwi it worked!! (by Aqib Farooq)
by yaaz32
Windows form
 
Hey i have a windows form application. I have two textboxes. textbox1 and textbox2. I have a ca...
[no replies]
by Ch1156
.append() issue
 
I'm trying to load files from a folder and I have a directory name that I push back into the vector ...
[2 replies] Last: Ok that worked thank you. I hate it when i cant figure out simple stuf... (by Ch1156)
memory allocation operator new / delete, new [] / delete[]
 
Hello I made a simple code. Please analyse it and make debug ! My question is: Why 16 bytes ...
[1 reply] : In line 68, delete pObj2; , how does the program know how many elem... (by kbw)
Pages: 1... 5152535455... 78
  Archived months: [jul2014]

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