Beginners - November 2008 (Page 7)

i need a code for takin input fo 2 secs
 
Hi i am bilal n i am new here i need to make a program on Human simulation....... Well what i need...
[8 replies] Last: Thanx guyz! This really helps well but i now get another command of c... (by chaudharybilal)
Problem with some compiler messages....
 
Hello everybody!! I have written a program but I cant overcome some compiler messages. Here is the...
[14 replies] Last: Ok,I found it.Wrong argument was the mistake. thanks for help anyway (by DarkFire21)
Infinite loop...
 
// prac04-6.cpp : Defines the entry point for the console application. // #include "stdafx.h" #...
[no replies]
Infinite loop...
 
// prac04-6.cpp : Defines the entry point for the console application. // #include "stdafx.h" #...
[no replies]
Program Crash in Vista reading txt file
 
I am doing a school project, working on a program which is used to analyze and display information f...
[1 reply] : The above code looks like mainly C with one or two lines C++ first ... (by anders43)
Pointer: is it pointing to an alphanumeric character?
 
Hello guys. How might I go about deciding if "ptr1 points to an alphanumeric"? That's the c...
[2 replies] Last: or ! ispunct( int ) (by anders43)
array min value
 
I have a task where I need to find the minimum number in the array. and function must start with ...
[15 replies] Last: void min(float table , int size, float &value, int &index) { ... (by anders43)
Infinite loop caused by string
 
I put a string in to the following program so that I could output the full employees name. After inp...
[1 reply] : Please edit your post using the code tags and with proper indentation,... (by mahlerfive)
Random Number Array
 
Hello, this task requires me to do a few things. 1) Fills two integer arrays of size 10 with un...
[2 replies] Last: Because the arrays are sorted from the previous steps, the union and i... (by mahlerfive)
useful for beginners
 
this site is useful, for I myself learned the step by step process of C++ programming, i just want t...
[no replies]
How to make the console go away.
 
/* Hello people. I'm here for some advise. About ten years ago a had a stroke and I am still affec...
[8 replies] Last: Hmm, I thought you wrote that routine. Basically it is checking eve... (by Duthomhas)
Compiler
 
Hi, I got a the book C++ Primer Plus 5th edition. It says it uses Microsoft Visual C++ 7.1 but can I...
[2 replies] Last: Thanks (by willia23)
Declaring Global Variable Inside a Function
 
How do you declare a global variable inside a function. The reason for being able to do this is s...
[5 replies] Last: I think if your looking at global variables you should consider an alt... (by Zaita)
saving files in C++
 
I have managed to save files in c++, and they turn out as strings. is there any way to save a float,...
[4 replies] Last: I think the problem I have with mine, is that everything revolves arou... (by BHAdmin)
Class- a private variable issue:
 
Hello, This is my first time posting, sorry if I make a mistake :( I have made a basic class ...
[5 replies] Last: also i would just not have the are variable unless the assignment tel... (by simply thunder)
can someone explain this error?
 
using recursion im trying to get the factorial of any number. this is my code: # include <iostream...
[1 reply] : Extraneous semicolon on line 12 Also one on line 14. (by jsmith)
Having trouble with a assignment.
 
I have an assignment for beginners c++ class and I need to figure out how to search in a .txt file a...
[3 replies] Last: I would use a class: class item { public: int amount, i... (by Bazzy)
by sacred
Is binary search possible with Vectors?
 
I've been trying to implement it all day. But can't seem to convert an Array based bit of code. ...
[2 replies] Last: Note that binary searches require the container to be sorted beforehan... (by seymore15074)
c++ best compiler
 
Dear Sir which is the best compile for c++. i am using turbo c++ but it is not industry ori...
[3 replies] Last: I thik Code::Blocks is a very good IDE: you could select the com... (by Bazzy)
How do I read spaces in a text file?
 
I am attempting to read in a text file and loop through each character of the file as I will be modi...
[2 replies] Last: You can also just turn off the skip whitespace flag: inFile >> nos... (by Duthomhas)
November 2008 Pages: 1... 56789... 19
  Archived months: [oct2008] [dec2008]

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