Beginners - May 2011 (Page 13)

by cstorm
String input Problems
 
I've noticed lately I've been having lots of problems with string. I use a lot but it usually ignor...
[1 reply] : The common pitfall is mixing cin >> x; and getline(cin,x); but tha... (by coder777)
by Ragnos
Fatal Error LNK! Help, please!
 
Hello! I've been scouting around this website for quite some time until I finally decided to join u...
[1 reply] : It's likely the wrong type of project. Make sure you choose 'console' ... (by coder777)
c++ running a exported dll function from a injected dll
 
So I have this dll I made Here: #include <windows.h> BOOL APIENTRY DllMain(HMODULE hModule, ...
[1 reply] : You need header file(s) where all the accessible functions/classes are... (by coder777)
2D collision: AARRRGHHH
 
For the last two days I've been trying to get a (seemingly) simple algo working: A detection system...
[17 replies] Last: Well I guess I'll use that for now. I'll look into Box2D later though!... (by xander333)
Reading from text file and displaying it on screen
 
I currently trying to read from a text file after which the contents of the text file will be displa...
[2 replies] Last: Hi, this is the txt file I trying to read in, which I want to format... (by jellyfish)
Only picks choice 1?
 
In my code, everything I choose for the first pick goes directly to choice = 1. How do I make it so...
[9 replies] Last: I found out what will work, cin.ignore(); cin.ignore(); return 0... (by kyranstar)
Spanish tutorial
 
Hi everyone, i'm trying to get my friend into C++ programming and i really like the tutorial of this...
[no replies]
by Bulova
passing structures into functions
 
Hi I've been messing around trying to pass structures into functions. my structure looks like this ...
[1 reply] : You pass your custom types into functions much like you pass normal ty... (by matsom)
Reading same int or HWND etc from diffrent .cpp
 
Hello, I'm trying to learn about header files,I know that I can use variables and definitions of fu...
[2 replies] Last: Oh my.... programing can be easier than you expected sometimes :) Tha... (by Mekolle)
Processor Warm-up
 
Hello, I'm trying to get some benchmarking results for two versions of a program I've made. A heu...
[1 reply] : Are you performing disk I/O to obtain these data sets? If so, the syst... (by helios)
Template class
 
Hi, I have a template class called Array that comprises a type and a nontype parameter. I have...
[5 replies] Last: int arrayIndex, x; ¿What type is x? ¿what type it should be?... (by ne555)
Login System
 
Hello, I am attempting to make a simple login system, and I am not sure how to go about this but the...
[1 reply] : You gotta be creative with this, you could have it create a small file... (by notajew)
Simple question about preprocessors on emacs
 
Hello! I am using emacs editor and compiling through terminal on Mac OS X 10.6.7 in my learning of ...
[3 replies] Last: Then why the need for the using namespace std; ? To make available... (by Moschops)
by Timbo1
SDL
 
I am trying to create a basic TicTacToe Game in SDL and so far have come up with the code below. Cu...
[2 replies] Last: Duplicate thread: http://www.cplusplus.com/forum/general/43509/ Check ... (by closed account D80DSL3A)
small advice
 
hey guys! -i have declared a variable called total inside of main -i want to use total inside ...
[4 replies] Last: OP said his variable was inside main . I believe use of global variab... (by anonymous23323124)
by Justis
Complicated reading from file
 
I've searched this forum and the internet quite a bit and I'm still not exactly clear how I would go...
[1 reply] : To read a number, use operator >>. If there is no number in the file, ... (by hamsterman)
assignemnt help!
 
ok. i have been working on my assignment since morning and i feel tiered and confused. here is ...
[2 replies] Last: thank you so much :) that really helped yes it could be fixed by usin... (by alfreddoozz)
Pointer to Function
 
Im working on an example utilizing pointers to functions. In the code, first they declare a functio...
[7 replies] Last: right (bold is the cast), but still invalid - the compiler will not al... (by kfmfe04)
help this is urgent
 
hello! guys i am new here i am learning c++ in my university and i have an assignment for 2morrow. i...
[4 replies] Last: i will try that ! thank you so much for your help really appriciate it... (by alfreddoozz)
by GUY25
What's wrong with my code?!
 
Hi all - I'm at a loss with this code! It's supposed to take a string in form of DDMMYYYY then ou...
[4 replies] Last: There's no problem with substr ; the problem is that you're using it ... (by Moschops)
May 2011 Pages: 1... 1112131415... 48
  Archived months: [apr2011] [jun2011]

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