Beginners - January 2010 (Page 7)

by nano
need a beginner guide
 
Hello I am interested in programing but I am 14 only so,I would like people to tell me a way to learn c++,there is no problem in downloading any program, I real...
[2 replies] Last: The tutorial on this site and a good book with plenty of application. ... (by Return 0)
local variables to global variables
 
Hello, I'm new here and to programming, but I want to know if it's possible to make a local variable into a global. my program is a simple hangman with the pos...
[5 replies] Last: I've tryed that as well, it allows me to enter the secret word and pre... (by boobies)
Good compiler?
 
Currently I'm using DEV-C++, and I'm wondering if this is good or if there are better options for a beginner.
[3 replies] Last: I second Bazzy's opinion. (by kevinkjt2000)
Controls
 
I am making a changeability Control scheme for an application so that you can change the functions of a key like A. To do so i plan to make a variable to all th...
[4 replies] Last: Im not heavily skilled, but i do understand the structure of the code ... (by Rethary)
by admkrk
trying to understand a lesson
 
i'm trying to teach my self C++ and was doing ok until i hit a typo in the book. it's an older deitel book. it asks to write a bunch of statements and then use ...
[4 replies] Last: thanks guys. i'm still not exactly sure how to write it out, but at le... (by admkrk)
what is the exceptional quality of C++
 
Is it the free structured or object oriented programming criteria or anything else
[4 replies] Last: I always thought that type safety and the ability to model user define... (by moorecm)
Application for windows and Unix
 
Hi, I want to build an application that would run both in windows and unix, as I am new to C++ programming I could not proceed further. My application would ...
[2 replies] Last: Well, some would say use cross-platform libraries that are built on ea... (by closed account S6k9GNh0)
How to assign an infinite number of symbols to an array?
 
I'm extremely new at C++, and I'm currently taking a class to learn the basics. I was asked today to write a program that asks a user for the number of rows...
[5 replies] Last: Tried these, and they worked beautifully! Thanks guys. (by asterio)
How C and C++ differ from each other
 
can yo please let me know this
[5 replies] Last: http://www2.research.att.com/~bs/3rd.html http://www.research.att.com... (by Bazzy)
Problem with find() and substr() functions
 
Hello! I'm trying to figure out how to use the find() and substr() functions to extract the first and last names of the user when they input their name. Here is...
[1 reply] : You are declaring two variables: lastname and firstname. Do you want t... (by Bazzy)
by mngeow
C++ fstream
 
Hi I was just assigned a C++ project about the fstream header,the questions is like this " Find out about C++ file I/O using fstream header Understand basic...
[2 replies] Last: http://www.cplusplus.com/reference/iostream/fstream/ (by helios)
Defining enter etc..
 
How do you define ENTER and BACKSPACE to use in a code like: cout<<"Press BACKSPACE to exit...\n"; cout<<"Press ENTER to continue...\n"; cin>>...
[5 replies] Last: http://cplusplus.com/reference/iostream/manipulators/flush/ http://cp... (by blackcoder41)
how to time a program
 
i have a program with a while loop and i want to time the program to see time differences under different parameters i just looked and realized that i dident...
[3 replies] Last: Seconds are a little too long for this kind of thing. Try http://www.... (by hamsterman)
Functions returning pointer to array
 
I have searched this forum but couldn't seem to find a solution. If this has been answered, I apologize. My function generates an array and then returns a po...
[3 replies] Last: Thank you, I forgot that you have to delete in C++. I know that pas... (by xyzordie)
path enviorement variable
 
Hi, I am trying to run a program which is using an external numerical library. I compile it without errors but when I start it, I get the following output: ...
[10 replies] Last: Hi, hier is piece of the code: : : char mainpath = "E:\\empiric... (by studentffm)
creating Multi-process !!!!
 
i have a program that will create a father process( called 1 ) then the program asks if u want to add processes suppose that we want to add a process (1.1 et 1....
[16 replies] Last: lmao, this thread is funny & post in code brackets!!!!!!! (by brokenbot)
Advice
 
I have this function that is supposed to calculate the day depending on the number. i.e. If today is Sunday, and I add 15, it should return Monday. Problem is...
[1 reply] : Try using modulus and an integer. Sunday is 0, monday is 1, etc to 7. ... (by tummychow)
by j3tt
Problems with struct again :(
 
// Fractions.cpp : main project file. #include "stdafx.h" #include <iostream> using namespace std; struct fraction { int denominator; int numera...
[1 reply] : The struct is fine; the way you're accessing it isn't. fraction d... (by chrisname)
Error at line 61 expected ";" before...
 
Hello all i get an error in cygwin @ line 61 "error expected ";" before "income_tax". I have no idea what the problem is and im fairly new to c++ and coding in...
[1 reply] : You have no << operator before incometax on line 61. (by tummychow)
Specialized template outside-class-definition problem during compile time.
 
I've done an example of 'template specialization'. Here is the code: // template specialization #include <iostream> using namespace std; // class t...
[2 replies] Last: Thank R0mai, it works perfectly! (by chaienbungbu)
January 2010 Pages: 1... 56789... 24
  Archived months: [dec2009] [feb2010]

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