Beginners - June 2009 (Page 3)

Connect 4 Game
 
Hi, can someone explain to me what is the idea behind teh connect 4 game, I mean how should I think about that?? What is the concept behind the search he...
[1 reply] : You need to be more specific about your questions. Connect 4 is a p... (by jsmith)
Manipulating Directories in Windows w/ VS 2008
 
Hello Again, Question Setup: So I'm wanting to develop an application that is preferably a text based console and uses vanilla, non-Microsoft C++ (i.e....
[6 replies] Last: OK, so it is working pretty well. It's kind of silly that I didn't see... (by AngelGithara23)
screen input
 
Hi, I'm a first year informatics student. And for a software project I need screen pixel colour information (as efficient as possible). I only had like 6 c...
[2 replies] Last: > I need screen pixel colour information (as efficient as possible) ... (by george135)
A good beginners tutorial on making windows GUIs ?
 
Where can I find a good beginners tutorial on making windows GUIs with C++? Also does Visual C++ have a GI builder thingy in it (where youcan drag and drop thin...
[2 replies] Last: > Windows GUIs by using C or C++ is too complicated rather than C#. ... (by george135)
by TheSte
file.open(..); string parameter
 
Hi all, I've been making this program for a training but I've found this problem... whem I use file.open I want to name the file with the content of a str...
[1 reply] : file.open ( ( name + ".txt" ).c_str() ); .c_str() converts C++ stri... (by Bazzy)
The Maximum of a Group of Numbers
 
Problem: Write a pseudocode program, then a C++ program that uses a while statement to determine and print the largest number of 10 numbers input by the user. Y...
[2 replies] Last: Thanks a lot! Never occurred to me that I was using it wrong. BIG than... (by chrisag08)
by Dayana
Search by size in directory then delete
 
Hello! I need some help in code. What I am trying to do is make a exe which is searching ( loop search? ) specific directory and is looking for any file w...
[7 replies] Last: Problem solved here http://ubuntuforums.org/showthread.php?t=453691 (by Dayana)
I have error in Visual studio 2008
 
Hello everybody, I have Now Visual Studio 2008 but I can't compile the samples who are on the site and when I write some c++ file has an iostream include I rece...
[5 replies] Last: It's ok, you are welcome. (by AngelGithara23)
Question on code from tutorial
 
The code on page 90 of the tutorial (the pdf version) has contained in the constructor the two lines width = new int; height = new int; I don't understan...
[3 replies] Last: new simply allocates enough memory for sizeof(int); Because the... (by closed account S6k9GNh0)
Char* and long
 
Hi, If I have declared the following: long x=112232; char* arr = &x; What is happening here?? Is arr now a pointer to x??, and we can then loop over...
[12 replies] Last: Is 1234567 a decimal number? If that the case, then what makes sure ... (by helios)
C++ code f0r this plz!
 
C++ masterz plz help me ab0ut this questi0n., this is my assignment in 0ur c0mputer pr0gramming that have to pass 0n m0nday june,29,2009... H0w to c0de this? My...
[8 replies] Last: Thnx 4 d help guys ,..n0w i kn0w..., yes! Tnx again 4 d examples n clu... (by gunsnet)
Using the fstream class in UNICODE? (1,2)
 
Alright, I have posted on several of my regular programming forums and nobody seems to be able to answer this for me due to only being able to locate ANSI (sing...
[26 replies] Last: This seems highly odd that C++ fails under common circumstances in UN... (by hypercube1)
by Faken
Writing to file ending prematurely
 
I am writing some data to file using ofstream and the << operator. The program first generates the data to be written and puts it in a char memory block. I then...
[2 replies] Last: #include <iostream> #include <sstream> #include <fstream> #include... (by Faken)
Can't figure out what's wrong with if/else
 
My program is incomplete but should be executable. It won't link an else to an if statement even though everything between them is within brackets. And when i r...
[7 replies] Last: Thank you very much. I can finish my program now. (by Syckness)
Best IDE for embedded system ?
 
Dear all, I am very new to C++, Can anyone advise me which IDE is the best to program for the embedded system. My system is going to have micro-controller (...
[4 replies] Last: wind river is what we use on my robotics team at high school http:/... (by hypercube1)
trying to prevent a char input
 
I'm trying to prevent an accidental char input but all my code does is repeat the error message. string input = ""; stringstream myStream; int hop; whi...
[4 replies] Last: thanks that worked perfectly (by fire child)
Fontsize in Console Apps
 
Hey, is there a way to change the font size in a console application to something like 8x8 px? I've tried SetCurrentConsoleFontEx but this won't work with Windo...
[3 replies] Last: Well, I have tried it like this: #ifndef _WIN32_WINNT #define _WIN3... (by spliffmaster)
by t0t0
check string consistancy using regex
 
Hello! I need some help in code. What I am trying to do is make filter that checks and removes invalid characters from a string (text). Rule is specified ...
[3 replies] Last: Well, I agree that boost::regex will be slower, but on the other hand ... (by jsmith)
by superQ
Intellisense what?
 
This is purely curiosity, I'm not having any issues or anything. I use VC++ 2008 and whenever I make a project, I get a VC++ Intellisense Database of the sam...
[2 replies] Last: Ohh neat...yeah thats pretty important ^_^ Thanks for the info j (by superQ)
Question about arrays, get function
 
Hi, I was wondering what is the best way to make an array from an inputted line of integers that have 1 space between them. Should i use the get function? ge...
[2 replies] Last: I'm guessing that since they have a space, they are expecting you to u... (by firedraco)
June 2009 Pages: 12345... 18
  Archived months: [may2009] [jul2009]

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