Beginners - May 2011 (Page 21)

Seeding Rand
 
im trying to seed a random number and have it output a dice accoring to what the number is but i have been running into trouble when trying to make the second d...
[2 replies] Last: Instead of writing that switch twice, why not just make it a function?... (by Computergeek01)
Very stupid question qsort
 
Can qsort() http://www.cplusplus.com/reference/clibrary/cstdlib/qsort/ be used with a STL container?let´s say vector of a class? like in vector<Traba...
[3 replies] Last: thanks Wouldn´t work for vectors of STL because it´s a function from... (by horance89)
Different colours without system("color attr");
 
Hello there, I was developing a program for a friend that is teacher on elementary school and he asked me or I could develop a program for him that will help...
[1 reply] : For windows, http://msdn.microsoft.com/en-us/library/ms686047(v=vs.85)... (by hamsterman)
Reading File with Custom Break
 
Hello, I am trying to create my own breaks in a .txt file so that my program will stop reading the file when it encounters this break. It works, but it will...
[1 reply] : Nevermind, I got it. :) Just had to add an if statement to check the... (by Chevytuff19)
by gibran
I run a simple test program, but a different one runs
 
When i try to create and run any new simple test program in c++ a different one runs. This program that runs is actually a java program, It is stored in m...
[11 replies] Last: So your compiling and running your program, and it does what it's supp... (by Mathhead200)
How to write to file? VC++
 
So I try this: FILE *filepointer; errno_t err; err = fopen_s(&filepointer, "C:\Documents and Settings\user\MyDocuments\OutputTest.txt", "w"); fprintf(...
[3 replies] Last: does the path exist and does your application have write privaliges to... (by Moooce)
New to eclipse
 
I'm new to eclipse and i have installed the JRE and MingGW yet when i try to go to help>install new software and i put in the site for cdt it gives me an error ...
[2 replies] Last: Hi jblevins1991, have you tried: http://download.eclipse.org/tools/... (by dangrr888)
Could someone explain GetTickCount()
 
First of all, here's a sapmle of code I wrote to test this: #include "stdafx.h" #include <iostream> #include <Windows.h> #include <conio.h> int _tmain...
[3 replies] Last: Thanks a lot for the replys. (by Lynx876)
by CStu
Fibonacci Program
 
I have this Fibonacci program due this Friday. I can't figure out what to put into the for loop to find the term requested by user. Here is what the program sho...
[2 replies] Last: #include <iostream> using namespace std; int main () { int temp; i... (by hackthisred)
by ChrisN
Undeclared indentifier error
 
Hello, all. I am having some problem with this program when I break it up into a multi-file format. It runs okay when it is in one whole cpp file, Here's ...
[3 replies] Last: I just tried this and it works fine. int main() { //enum daysEnu... (by Lynx876)
Converting String to Int
 
Hey guys , Just wondering if there is any method to convert a string to an int. Like convert "hello" into int or double. The thing i want to do is to ...
[5 replies] Last: Using by atoi(string) function to achieve it (by kennedywai)
how to post a message to an Active X control
 
I write an Active X control by using MFC. I add it to a Dialog.Now I want post a message which define by myself,to the Active X control.I can't get the handle ...
[no replies]
overloaded member function not found
 
Functions continue to give me problems, I am unable to see the issues any help would be appreciated. 1>c:\users\ben\documents\visual studio 2008\projects\wee...
[12 replies] Last: Now it doesnt add. You never assign the member day of DayOfTheWe... (by closed account zb0S216C)
by Sabre
Setting the location of the console window
 
Gday all I have had a bit of experience prior in Turbo Pascal and Java (Both several years ago) and I am looking to start getting back into programming for a...
[2 replies] Last: I am trying to make the window and buffer bigger because I am trying t... (by Sabre)
by mdk85
help in shopping program
 
hi i am working on a shopping program where the user data consisting of his name , id and password has been given and the shopping items are divided into catego...
[2 replies] Last: for add to cart list a user can add many items how to put all the ite... (by mdk85)
Alignment of Cout information.
 
So my question is simple. In C++, is there a way to align text so when it prints to the screen it is nicely lined up? Note: I have two strings coming in via a s...
[2 replies] Last: Thank You so much. So setw(40 - first.sizeof() - checkLastName.size())... (by edithsong)
What book to choose?
 
I bought some books and i dont know with wich one to start with first. -C++ programming for the absolute begginer (second edition) -Beginning c++ through ga...
[3 replies] Last: I'd recommend this book by Brian Overland, it is a nice refresher cour... (by hackthisred)
by Reed
Where should I start? (Not new, but definitely rusty)
 
Hello everybody, I know a majority of the common C++ commands. I read a book on it when I was like 13, never applied it much, and now (6 years later) I'm pic...
[2 replies] Last: I'd recommend this book by Brian Overland, it is a nice refresher cour... (by hackthisred)
You can laugh at me but.....
 
I am brand new to learning C++. I was hoping that anyone that was willing to compare these two sets of code could: 1. Let me know if my approach is just tot...
[2 replies] Last: #include <iostream> using namespace std; double get_num(); char cSym... (by hackthisred)
by Indrik
Best Compiler for Art Phone Apps + Language ?'s
 
Hello. I'm just beginning to learn programming with an explicit goal in mind: I'm applying what I learn to developing a cell phone app that's more on the artist...
[2 replies] Last: The program is filling an unmet need. I'm already running a test marke... (by Indrik)
May 2011 Pages: 1... 1920212223... 48
  Archived months: [apr2011] [jun2011]

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