Beginners - November 2011 (Page 26)

by kato
Coding GUIs from scratch
Hello, I just learnt C++, I have been doing web development for the past 3 years and very much appreciate the structure of C++. But I want to start writing GU...
Nov 19, 2011 at 8:34pm
[4 replies] Last: Using matrices/vectors to position a standard set of components sounds... (by andywestken)
Display Array Index
I'm having a bit of trouble displaying an array index with a loop, what's going on here? #include<iostream> using namespace std; int main() { ch...
Nov 19, 2011 at 8:12pm
[6 replies] Last: You've got your logic inverted. For for (int i =0; i <= 5; i++) { ... (by andywestken)
program.exe has stopped working
As with anyone else posting problems here, I am new to C++, and programming. I am currently in a logics class that is not language specific and use the RAPTOR f...
Nov 19, 2011 at 7:58pm
[5 replies] Last: @Breadman gaah....thank you! That is the problem with having only u... (by Turco08)
by Tonia
C++ Parking garage program help
Can anyone tell me what is wrong with this code? Design and develop a program for Parking-Garage charges. A parking garage uses the following rate for the c...
Nov 19, 2011 at 7:14pm
[1 reply] : You've screwed up the braces. This is probably because you didn't lay... (by Moschops)
Long boring problem
If anyone is bored enough to look through the code, here it is. No idea what is wrong. //Date.h class Date { private: int day; int month; int year; ...
Nov 19, 2011 at 7:08pm
[10 replies] Last: if (weekday ==day) is wrong because the day member variable is an in... (by andywestken)
by lakost
Serial number problem
Im in the midst of doing my C++ project that is ticket booking system. I have encountered a small problem(at least now), that is i dont know how to keep the num...
Nov 19, 2011 at 6:52pm
[3 replies] Last: I assume that when you (re)start your program you load the file(s) bac... (by andywestken)
by gyoye
switch problem
Hi, I am new here. I have a problem with my switch. I was investigating it on the net but I really haven't got the solution yet. I always get these error- m...
Nov 19, 2011 at 6:48pm
[2 replies] Last: Thanks a lot. Now It is working changing the those variables to consta... (by gyoye)
help conversion to c++
hi all how can we write this in c++? #include <stdio.h> #include <stdlib.h> typedef struct { int x, y; } * Point; void init (Point p) {p->x = 0; p->y = 0;} v...
Nov 19, 2011 at 6:45pm
[no replies]
how can we distinguish between objects belonging to same type ????????
how can we distinguish between objects belonging to same typ???????????? comprehensive answers plzzz..... thanks...
Nov 19, 2011 at 5:20pm
[2 replies] Last: Why do you use so many ??????????????? and zzzz and ....? And you don'... (by eypros)
Binary Relations Project Help
Below is a summarization of the project we were assigned. Given a set and a binary relation on the set, you must verify whether the given relation is Reflex...
Nov 19, 2011 at 5:10pm
[no replies]
Checking for user input
hello hey or hi.. so im checking for user input as the title says the user is asked to input the annual income for a company and that of course should only b...
Nov 19, 2011 at 4:59pm
[4 replies] Last: That dose not seem to work if i enter in a character it runs in an inf... (by Pip3mAn)
Merge A Linked List...What if reach NULL ?
Assuming 2 lists are sorted (croissant),this function will merge 2 list and put pointer to the head...Note : it doesn't create nor delete any node. IntNode*...
Nov 19, 2011 at 4:15pm
[10 replies] Last: I wrote the code,again,and now have success : IntNode* merge(IntNode... (by hentaiw)
Body Mass Index
I was wondering if someone can tell me if I did this exercise from C++ primer right. I'm not sure if I did. I tried to follow along with the exercise the best ...
Nov 19, 2011 at 3:50pm
[5 replies] Last: ugh math, lol. Can only get better I guess. I should have done what M... (by InterFiction)
Printing 20 Numbers per Line
I have the following program and everything is working great but how would I get it to only print 20 numbers per line and after the 20 numbers skip to the next ...
Nov 19, 2011 at 3:43pm
[1 reply] : That's a lot of code to read. But generally, keep track of how many... (by Stewbond)
could any array passed by value???
We know that arrays are passed by reference. Do you know some way around to pass them by value........if not then why not???????
Nov 19, 2011 at 3:36pm
[5 replies] Last: It is not possible to pass C arrays by value, however it is possible f... (by Athar)
size of object of class with no data members is 1 byte why?
size of object of class with no data members is 1 byte why?
Nov 19, 2011 at 3:03pm
[1 reply] : At one level, because the standard demands that class object have a si... (by Moschops)
HoroScope Problem
I can't get this program showing the zodiac sign even though i've spent plenty of time, my brain has just stopped working. Any help would be greatly appreciated...
Nov 19, 2011 at 3:01pm
[3 replies] Last: Aries Horoscope - Aries Astrology Are you an Aries and are looking ... (by aries412)
How do you use multiple .cpp files across your program?
I am making program that is getting complex,pretty fast. I heard that you can spread the code across multiple files. I don't really think its that easy as cre...
Nov 19, 2011 at 2:56pm
[5 replies] Last: When the compiler turns the cpp file into an object file, if there are... (by Moschops)
creat exe of project
I install codeblock with IDE, i want to work on this project(http://www.tightvnc.com/download.php) but i dont know how to make single exe or setup file of this ...
Nov 19, 2011 at 2:29pm
[2 replies] Last: Download the source code from here: http://www.tightvnc.com/download.p... (by undertaker333)
by Ch1156
Help reading from file
Ok so i have a program that interprets Binary that i created into numbers, this is what it reads from the file: 11001 00100 :: 11001 00100 11001 is A, 00100 ...
Nov 19, 2011 at 2:28pm
[no replies]
November 2011 Pages: 1... 2425262728... 65
  Archived months: [oct2011] [dec2011]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.