Beginners - June 2008 (Page 10)

Borland C++, getting started
 
Hey, can anyone explain how to get started with Borland C++? I can't quite understand how to start o...
[6 replies] Last: please forgive me, I made a minor mistake. (by whjwhj)
loop structure
 
i try to make a structure so that you insert n numbers from the keyboard but i want to show a error ...
[4 replies] Last: yes that helps a lot thank you so much...i got the idea now :D (by ioanmih)
Question about inline function modifier
 
Hello, My question is this: if an inline function is expanded at the time of it's call, is a ...
[4 replies] Last: Another way of thinking of it. A function that is not 'inline' only e... (by bnbertha)
DevC++
 
hello, i got DevC++ and have a problem. When i try to run the simplest code, like the hello world ...
[16 replies] Last: Haha well im a student at DeVry University in Orlando studying Game an... (by hartmannr76)
Modifying txt file using classes
 
A text file contains data on some individuals, formatted as follows: lastName,firstName,gender,st...
[3 replies] Last: Well, it can't, but you can always turn a string into an iostream, or ... (by Duthomhas)
Proble with virtual function!
 
Hello, mates! I desperately need help. I have a base class named Cell, and three derived classes - ...
[2 replies] Last: It has only been six hours since you first posted, and it is the weeke... (by Duthomhas)
Pointer
 
#include <stdio.h> #include <stdlib.h> int main () { int a; printf("%p\n",a); printf(...
[1 reply] : In the first one you are passing the actual integer value (%p only app... (by bnbertha)
Unusual error
 
I noticed this unusual error.. I had written a program schedule.cpp. I wrote a modified version of ...
[4 replies] Last: Hmm, Koenig's first rule of debugging, eh? http://wordaligned.org/art... (by Duthomhas)
thank you duoas
 
thank you duoas for your reply, but it does not work. i am using winXP and C++ 3 please help me as...
[2 replies] Last: You need to provide a whole lot more information than that. Tell m... (by Duthomhas)
cin.get infinite loop
 
#include <iostream> #include <string> using namespace std; int main () { char ...
[1 reply] : It works fine for me. By best guess is that somehow the input strea... (by Duthomhas)
new to this, need explanation on how to work on this
 
# include <iostream> using namespace std; int main() { int tot,hc=50,cp=500,ho=150,hs=250,x=0,y;...
[4 replies] Last: thanks to all,esp @psault&&firedraco ...I somehow manage it,tnx for t... (by dummyatplusplus)
selecting a random number from a set of numbers
 
How can i generate a random number from a set of numbers? i m a beginner and i have been trying t...
[2 replies] Last: Thanks... (by kakarthik)
Memory error
 
Hey guys, I am trying to code this program. It compiles correctly, but unfortunately somewhere along...
[1 reply] : Check on line 12 of market.cpp, you have an array of pointers to type ... (by psault)
how to use parametrized constructor with new
 
Hello. I am trying to figure out how to pass parameters to a constructor using new. Right now I am...
[3 replies] Last: Heh, you can read them from file the same way: // Here's a little ... (by Duthomhas)
by RapidX
Arrays
 
Hello everyone, I've been reading up on the tutorial and I'm at the Arrays part of it. On the pag...
[3 replies] Last: += means to increment by a += c; means to add c to a and assign that ... (by hajusrex)
by kaeota
Undefined reference to:
 
Hi guys! I'm trying to get a vector of pointers, that point to an index vector to sort a vector of d...
[2 replies] Last: So i have, fixed now =) any ideas? UPDATE: fixed. Installed cygwin ... (by kaeota)
Clearing a structure
 
Hey guys, My problem is that in my program, my structure takes in information from a file, and when...
[1 reply] : Can you post a small example that demonstrates the problem? (by Duthomhas)
unable to open include file 'iostream.h'
 
whenever i compile some prog. there is an error message showing: unable to open include file 'iost...
[1 reply] : Try to #include <iostream> and make sure you are compiling wit... (by Duthomhas)
is scanf_s portable?
 
I have a question about the use of scanf_s vs. scanf. I'm writing C code using microsoft visual C++...
[2 replies] Last: Duoas, Thanks for the reply, just the info I was looking for. ... (by spaceferret)
by Boman
Passing array to function
 
Hi all, I'm having issues with a program for an assignment. The program should have 3 functions to d...
[5 replies] Last: It is not validating April 31 as a valid date: The problem is line 6 ... (by guestgulkan)
June 2008 Pages: 1... 8910111213
  Archived months: [may2008] [jul2008]

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