Beginners - May 2011 (Page 8)

Use Vector to do Insert Sort
 
Hello, I am a newbie of C++, who has some experience in Java. I just finished my first C++ book ...
[7 replies] Last: Hello everyone! This is my very first post and I don't want to be obno... (by Osmar)
String in class
 
Hi, I'm trying to make a class called dayType. As a private member, I declared and initialized a str...
[6 replies] Last: Yeah, the next section in my book discusses static members. Once I rea... (by Maese909)
c++ array question ?
 
Write a program for a one dimensional integer array A with maximal number of elements =1000 (const=1...
[5 replies] Last: @ jeff: I'm pretty sure that IS the case -> http://cplusplus.com/foru... (by cnoeval)
by Ttown
Creating separate arrays from text file
 
I have a very long text file containing numerical data. The data looks something like this: 0.2 2...
[4 replies] Last: Mathead's example is eloquent but doesn't account for irregularities i... (by johnnystarr)
Read only function
 
Hi there I have a question regarding const but after looking online I still cannot understand what i...
[12 replies] Last: Hopefully not too late for your exam, but play around with my Circle e... (by jeffbmartinez)
anyone explain why I need single quote?
 
Can anyone explain a bit of the meaning and the cause of the compile error and why I must use single...
[7 replies] Last: An example of something similar in english would be if you wrote: "Th... (by jeffbmartinez)
2-dimensional vector and a 3-dimensional vector program
 
i am trying to write a program that could output the magnitudes of a 2-dimensional vector and a 3-di...
[5 replies] Last: sqrt(x) is short for Square Root of x. You can write a function any wa... (by LB)
Find the least common multiple in a range
 
Nothing hard to do, but I thought it was entertaining while it lasted. Got this task from eulerproje...
[7 replies] Last: You can get a modulo of a negative number. (by hanst99)
by KatieT
Serial/Random Access File
 
Hi. I am extremely new to C++ and have my first year final assignment to complete. I'm rather stuck....
[3 replies] Last: Most of the time, a text file requires serial access due to the variab... (by kfmfe04)
Separating Integer into Digits
 
This is far as I gotten, I have been able to separate the digits;however, they are displayed backwar...
[8 replies] Last: Thanks, I thought that was how it was, but i wasn't entirely sure. (by smkelsey)
Odd mistake while creating a class
 
Hello everyone! I'm trying to write a programm which simulates a football championship. I'm using M...
[4 replies] Last: helios (8067) You're absolutely right, buddy!!!! It works!!! That was... (by andreychernukha)
email parser need help asap!
 
so i need help for some reason it searchs through for a valid email but still prints the whole text?...
[4 replies] Last: So why don't you take any suggestion? I answered to one of those threa... (by coder777)
Complete C++ beginner can't get his head around File I/O
 
Hello, I'm making my way through the book 'Practical C++ Programming' and I'm getting stuck at th...
[2 replies] Last: Thank-you for the speedy response. I've got it to work now. I have a... (by phy2j2s)
Problem compiling an example from the SAMS teach yourself C++ in one hour a day book.
 
Hey everybody! First of all, I'm new here, just started learning C++ from the book written by Jes...
[2 replies] Last: perhaps, I just saved the source again while reading your message. Now... (by biomed0101)
Problem with program
 
Hi, I am just starting out with C++, and I was trying to write a program that gives you the factoria...
[4 replies] Last: It's called a trace statement in other contexts because it logs/traces... (by kbw)
lvalue
 
what is lvalue in c++? how can we be sure about lvalue without compiling the code?
[1 reply] : lvalue and rvalue is vaguely teated by the c++ standard and is som... (by guestgulkan)
How can I create a control inherit from CWnd
 
I want to write a control inherit from CWnd,what should I do if I want to create it? I call the func...
[12 replies] Last: [quote=fanrongqi]I guest the CDC::FillRect() will refresh the control ... (by closed account z05DSL3A)
lost how to solve the question (class called invoice)
 
#include <iostream> #include <string> using namespace std; class Invoice { public: Invoice (s...
[no replies]
hi all plzz help
 
i am just starting coding in vc++ 2010 express i am tring for a simple scanf program /* scanf exa...
[13 replies] Last: /* scanf example */ #include <stdio.h> #include "conio.h" int main () ... (by binarybot)
Allegro error
 
I am following this tutorial on Allegro. http://www.cppgameprogramming.com/cgi/nav.cgi?page=alleg...
[no replies]
May 2011 Pages: 1... 678910... 48
  Archived months: [apr2011] [jun2011]

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