I had same question in VC++ , but ok in DEV-C++,
after read some source code from book, I find this is answer:
class Distance; //adding prototype declare to remove this error.
istream&...
Type: Posts; User: toysoldier
I had same question in VC++ , but ok in DEV-C++,
after read some source code from book, I find this is answer:
class Distance; //adding prototype declare to remove this error.
istream&...
@ Elhaz :
Thanks for your weblink, now I understand how to use cin.clear() and cin.ignore(),
add this web to my bookmark.
@ Vicious :
May I ask you a little question?
When I input "1.1" not "1" in your selection menu,
".1" be received by next cin,
this is my problem:
How to clear (or flush) no used input value...
I correct some little error, now it's pass compiling:
#include <iostream>
using namespace std;
//**********************************************Func tion prototypes
...
I use dll to process my capture video stuff. you can look at this web:
www.avisynth.org
Haha, this simple prog adapt to newbie like me,
below is my trying:
#include <iostream>
using namespace std;
int main()
{
immediately, why?
@ Mastadex :
I have been caught with chaff, run your code make my computer restart!!!!
let me try to use like this:
enum deck {J, Q , K , A} cardval;
I use if .. else break to set this loop:
.........
while (1)
{ aa[bb] = mvgetch(8,38+bb); //This will repeated on any error
mvprintw(8,38+bb,"%c",aa[bb]);
if((aa[bb] < 0x30)...
@ chasehill:
your code is very complex, this is my program work as yours:
#include <iostream>
using namespace std;
int prime(int start, int end)
{
I try to edit it , although it's can running correctly now,
but I am donn't master loop condition set like this ,
somegurus, please give me some suggestion about
for(?;? ;?;){for(?;?;?).......}...
why I cann't find this statement.
@ Lithorien :
I am a newbie , just know some little error about your prog:
int Creature::GetStat(char* stat) // add type "int"
int Creature::SetStat(char* stat, int value) // add type...
@ bennyandthejets :
Thanks , I have added it in my bookmark.
every problem can be fond in msdn :
this is it's give out example about rand() using method.
Example
// crt_rand.c
/* This program seeds the random-number generator
* with the time, then...
@ manofsteel972 :
Thanks for your warmhearted helpness ,
and it's make me so ashamed to waste your so many gold time ,
seem I have no choice to learn in C++ well.
from your goals I find how many...
@ manofsteel972 :
Thanks, my original intention of learning C++ is
to write some virtuldub & avisynth filters,
to improve my captured avi stuff.
So hurrying to select start from vc++6.0 ,
but...
@ Koyaanisqatsi :
Thanks for your serious suggestion,
but now I think it's a quickly improvement way ,
to read all books covering c++ every point ,
after I understand every point , then to...
I am a newbie in c++ learning,
I have finished reading some basic c++ books,
I want to learn more and more,
now I want to know advanced c++ contents,
but I donn't know what should be continue...
Thanks to every friend:
I download spybot and remove some problem,
but it can't able to recover my IE main webpage,
Ha,Ha, now I find a very easy way :
1, enter IE's property ,
2, enter web...
@ Shadow :
Thanks, but these two software not free,
can you suggest some freewares ?
I try to edit some error , now it's pass compilation.
#include <iostream> //not ostream!
#include <string>
using namespace std;
class FootballGame
{
public:
sorry, wrong operation!
@ prog-bman :
how to remove it, please help ?