Beginners - June 2010 (Page 14)

by PRR
Compare char to hex value
 
Without all the includes and other stuff, this is generally what I'm dealing with. char c: c = getche(); //now need to do an if and compare if c is...
[2 replies] Last: I think you get the hexvalue notation in C++ wrong. Yes, you put 0x in... (by magnificence7)
by pause
problems with getline function
 
Hi, I'm new at C++ programming so I was writing a practice program. The idea of the program is to create some sort of listing in txt file of the books you hav...
[2 replies] Last: Ok, thak you very much. I've corrected it. By the way, is there a wa... (by pause)
Problem creating simple function
 
Hello! I have a problem with this simple program, and I don't know what's wrong =\ #include "stdafx.h" #include <iostream> using namespace std; string f...
[10 replies] Last: Ok then. (by m4ster r0shi)
Can write a simple program with function with pointers for me?
 
Hello Am new to pointers Can anyone write a simple program with a simple function with pointers?? any function I need to see examples for this OR: If you h...
[4 replies] Last: Thanks for all !! sorry for the late reply I got A- !! :$ Oh my god... (by General)
Problems with the string class
 
Hello, I've having problems with the string class.In the code below i want to create an array of strings , 7 in total at line 19. I then want to populate each o...
[4 replies] Last: Is the declaration days creating an array of 7 strings , such that i... (by m4ster r0shi)
by sendjy
undefined reference
 
basicly. I created the definition of a "rational" at rational.h and rational.cpp I compiled it and got rational.o. I then try to use the class in another...
[16 replies] Last: to filipe: thanks, i thinking i'm getting the idea now. to Disch: t... (by sendjy)
by svexo
a C# Question :O
 
Hello , I dont know a good forum for c# so i ask it here ^^ I made a program and it almost works i have no errors but if i start debugging and it co...
[3 replies] Last: i dont know if this is useful but i think that you have error on line ... (by dynamic cast)
Backline?
 
Is there any functions or escape sequence to go back from the previous line in the console screen?
[8 replies] Last: Windows http://www.cplusplus.com/forum/beginner/4234/#msg18563 Lin... (by Duthomhas)
Conversion to String - C++ Forms App
 
I am trying to program a game in a standard windows forms application in C++. I am having trouble which obviously wasn't an issue in VB. Basically it is a ver...
[5 replies] Last: Does this go in the button code or somewhere in the source code files,... (by musicman)
by Archa4
Getline word by word
 
Here is my problem: I have a .txt file, that contains only words. I need to write them into the second file in alphabetic order. I have to use 26 stacks (one ...
[5 replies] Last: I waited 3 days for some one to write this 10 minutes after your ... (by Galik)
Starting out GUI
 
Hey. I just created about 10 console applications and i think i'm ready to start doing window applications. Where do you suppose i should start? Thanks
[2 replies] Last: K thanks alot man. (by Kazamman)
by paulin
Can anyone check for me....
 
[3 replies] Last: Hello, I think it's better: #include<iostream> using namespace s... (by Vitali)
by kalel
I don't know where to start
 
Ok I'm really stuck, I'm really struggling to understand this C++ stuff, and I'm doing stuff that's VERY basic. What I need help with is creating a parallel a...
[3 replies] Last: Just some tips - The program probably shouldn't close when the user... (by bluezor)
Passing array as parameter problem
 
Hi..... i have a problem while trying to pass an array to a fuction by parameters heres my code. #include <iostream> using namespace std; int binsear...
[4 replies] Last: oh god!! i found it XD thx body i love you too... anyway the mistake w... (by shadowuy)
A Sudoku Killer
 
*If you don't know how to play Sudoku, this might not make much sense.* I'm relatively new to programming and I need some help with this program I'm writin...
[9 replies] Last: Alas! I figured it out! It's also easier to read (but please let me kn... (by Defending Man)
App to copy urls from Google search results..possible?
 
Brainstorming an idea to create a program that can copy the url's of sites in the Google results pages and put them into a csv file.....is something like this p...
[1 reply] : Hello, You should use sockets. If you use OS Windows, then I can he... (by Vitali)
If Comparison
 
i can't get it to tell me if pCurrentChar is a number i tried casting int i as char and it didn't work the program compiles with no errors its just not doing ...
[1 reply] : To check if a character is a number, you can: if( *pCurrentChar ... (by jsmith)
Reading and writing into a file
 
Hi guys: I am creating this code to read files. The problem I am having is the simple task of opening and writing into a file. I know I could create the code...
[3 replies] Last: ifstream inFile; ofstream outFile; inFile.open("fileNameHere"); d... (by sgtjoebear)
by pythip
reading from file
 
I would like to read this line in a file "0 3 4 5 6 3", I would like to set each integer to int numbers ; how would I go about doing this?
[1 reply] : Open an input file: #include <iostream> std::ifstream ifs("my... (by Galik)
how i can use pointers, constant and operators?
 
Hello, I want to know that how i can use pointers, constant and operators and how i can use unsigned char* , static unsigned int ,#pragma warning,const unsigne...
[8 replies] Last: Write a function that swaps two integers using pointers. Then modify i... (by m4ster r0shi)
June 2010 Pages: 1... 1213141516... 26
  Archived months: [may2010] [jul2010]

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