Beginners - August 2013 (Page 17)

Help - Hang Man Problem
 
Please Have A Look At My Code #include "stdafx.h" #include <iostream> #include <string> #include <stdlib.h> // rand() Function #include <time.h> // Initia...
[6 replies] Last: @coder: That's why I'm asking, lol. It works... I am on windows 8 tho... (by IWishIKnew)
by JensC
Problem with conio.h
 
Hello, To start with, I am using Windows 7, QT Creator and MinGW as a compiler. I am having problems with the conio.h header. Every time I inculde the conio....
[2 replies] Last: Quote: I can find C:\Qt\Qt5.1.0\Tools\mingw48_32\i686-w64-mingw32\inc... (by Chervil)
by tatai
using multiple files using C++ and saving them with same name
 
I have 60 files like summary_1, summary_2, summary_3 and so on. I need to remove the first line "time dayofyr" from each file and store them in the same file. I...
[5 replies] Last: thank you very much!! (by tatai)
by tatai
Changing multiple files using C++
 
I have 60 files in text format. they are summary_1, summary_2, summary_3 and so on. first line of each file is "time dayof". I need to remove the "time dayof" l...
[4 replies] Last: We are established psychics, but could you nevertheless humour us by t... (by keskiverto)
books including c++11 content
 
What are some books that include c++11 content? The only one i found currently available is: http://www.amazon.com/The-Programming-Language-4th-Edition/dp/03215...
[5 replies] Last: hmm, i torrented a few of those to check them out. I guess i was looki... (by metulburr)
confusions in the notation of Data type(bit width), Hexadecimal and Octal Literals
 
I have been trying to look them up through both books and internet resources, but unfortunately, it turns out that I am still not very clear about what exactly ...
[1 reply] : Binary literals. Proposal N3472. http://www.open-std.org/jtc1/sc22/wg... (by keskiverto)
cin >> and cin.ignore()
 
I read that the extraction operator stops extracting bytes from the buffer when it encounters '\n','\t',blanks and white spaces. When this happens, does it sim...
[7 replies] Last: std::istream.get() does not take integers or strings as arguments. Yo... (by Lowest0ne)
What is a reference exactly?
 
Hi. I know about when you should use references and why you use it etc. . But what is a reference in the memory. I sometimes like to think that a reference ...
[6 replies] Last: not only not worth, it would actually be wrong to: references are ... (by Cubbi)
Pointers
 
I have recently read about pointers but I have not yet discovered why I should use pointers instead of just normal ints or chars and so on. Why should I even u...
[4 replies] Last: Okay, that makes sense. Thank you all! (by Woodchopper)
for loop triangles
 
Hello There, So i did the output below(code). And I wanted it to reverse like this: ____* ___** __*** _**** Can somebody give me a clue of what to do? Wh...
[3 replies] Last: I'm learning basic programming. Thanks for the help. I appreciate it. (by sanasuke15)
what's the default section of a class?
 
class X { A public: B protected: C private: D }; Is A public or protected or private or both?
[1 reply] : private, you can read more here: http://www.cplusplus.com/doc/tutorial... (by closed account 4Gb4jE8b)
by nvrmnd
How to edit a text file content ?
 
Hello, i am making a library program that can store books and their information, eg.. Title, author.. to a text file. My problem is how can i edit the text file...
[3 replies] Last: Ok, thank you all, i'll google for that.. now that i have an idea how ... (by nvrmnd)
question about data types and operators
 
I am working on the second chapter of Herbert Schildt's C++ beginners's guide. To be honest, I am not very clear what the bit width is and what the correspondin...
[5 replies] Last: Oh, yes, I remeber I just read the definition about them two days ago.... (by Maxchen)
Stuck at school assignment!! Please HeLP!!!
 
Please help me out what's wrong with it? It said ERROR : Expected a declaration #include <iostream>; using std::cout; using std::cin; int main(); {...
[7 replies] Last: thank you * 100 (by supreme09)
by woohoo
Better way to do this?
 
I've been trying to make this code look nicer and run quicker but so far......it looks so bad to me right now. The code basically ask for the end result and pop...
[no replies]
Can you input squared symbols?
 
I was just wondering if it is possible to display the ^2 symbol and the square root symbol. I tried to copy and paste from another site and it gives me a weird ...
[4 replies] Last: Output from a program may depend on system setup, you will have to tel... (by Cubbi)
Another thread about "variable or field declared void" error
 
I cannot find what is wrong with my program. I pass three "Matrix"s to a function "MatrixMultiplier" and then I get an error message. Many people with this issu...
[2 replies] Last: noob mistake. Thanks x10000 for the quick, correct answer. (by Jcienfuegos)
Issue Compiling with Codeblocks
 
Hey guys. I'm pretty new to c++, and I originally started learning in Visual Studio Express. I wanted to switch to a free IDE, so I installed Code::Blocks. All ...
[4 replies] Last: > Visual Studio Express is free. It is gratis ¿is it libre ?... (by ne555)
SDL Programming error(segmentation fault)
 
I want to compile an SDL programm on my Windows partition. The compiler itself (finally) works as it should. Under linux the Programm runs but under windows t...
[1 reply] : I think it may be a segmentation fault (which shows up when I close do... (by theblackdog)
how to make a mouse point on the program?
 
i want to make 4 choices. and i want to let user to use up down right left key to choose the choices. #include <iostream> using namespace std; int main () ...
[2 replies] Last: OR sdl keystates (by closed account NUj6URfi)
August 2013 Pages: 1... 1516171819... 51
  Archived months: [jul2013] [sep2013]

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