cikara21 37 Posting Whiz

That attitude isn't likely to make you any friends.

that's ok..I'm sorry..:)

cikara21 37 Posting Whiz

Thank u very much sir..Don't know how to solve the problems sir..Could u tell us sir..:p

cikara21 37 Posting Whiz

>Is this valid?.. #pragma warning(disable:'warn code') ..:p
If you don't know what's causing a warning, you'd be a fool to disable it. I only know of one warning, on any compiler that I've ever used, where I'm 100% sure that it can be safely disabled. The correct response to a warning is understanding it and then fixing it.

yep..I just trying to set the flag not to understand it and fix it..Maybe u can fix it.:p

cikara21 37 Posting Whiz

Reset your var..Cleanup..Then call menu..It's hard to read your codes..esspecialy if it invinsible..

cikara21 37 Posting Whiz

Is this valid?.. #pragma warning(disable:'warn code') ..:p

cikara21 37 Posting Whiz

Yo..Take it ez..U dont even better than him..So..:p

cikara21 37 Posting Whiz

>Don't forget the return value..
0(zero) is returned by default. You don't need to return a value.
As mentioned by Bajarne Stroustrup, this is a perfectly valid shortest C++ program:

int main() {}

of course..How about 3..U know the best..

cikara21 37 Posting Whiz

Don't forget the return value..

cikara21 37 Posting Whiz

Replace..

if(usrInput.c_str()[usrInput.length()-1]=='%')
...

with

if(usrInput[usrInput.length()-1] == '%')
tux4life commented: Useful comment +1
cikara21 37 Posting Whiz

umm..sorry..:D

operator=(Contoh &B)
cikara21 37 Posting Whiz

type "plot", "PLOT", "plot blah", "plot blah blah", "PLOT BLAH", "PLOT BLAH BLAH"..good luck..

cikara21 37 Posting Whiz
void monthsSet::unionSet (monthsSet &B, int idx, bool val)
{
    B.months[idx] = val;
}
cikara21 37 Posting Whiz

Hello Xonxon..Are u Xonxon kesana kemari..

cikara21 37 Posting Whiz

Have u check preprocessor definitions configuration.. WIN32;NDEBUG;_WINDOWS

cikara21 37 Posting Whiz

then use Double res .. Double.Parse(...) or Double.TryParse(...)

cikara21 37 Posting Whiz

Or use.. execlp(...)

cikara21 37 Posting Whiz
Int32 res=Int32.Parse(textBox1.Text);
res=res*Int32.Parse(textBox2.Text);
textBox3.Text=res.ToString();
cikara21 37 Posting Whiz

1TB,2TB and 3TB... ???

rite version...

TB1,TB2 and TB3

cikara21 37 Posting Whiz

Welcome..don't worry..the experts will help u..jusk ask them..:)

cikara21 37 Posting Whiz

You are escaping the escape character, not the quotes here.

yep..sorry..fixed..thank u..;)

cikara21 37 Posting Whiz

gotoxy...SetCOnsoleCursorPos..

cikara21 37 Posting Whiz

this one?..

...
cout << "\"Movie Name:          "        << setw(22)  << movieTitle<<"\"" << endl;
...
cout << "Movie Name:         \" "        << setw(22)  << movieTitle <<"\""<< endl;
...
cikara21 37 Posting Whiz
...
if(x==backspace) 
{
    i++;
}
...

:)

Comatose commented: Beautiful +10
cikara21 37 Posting Whiz

Use GetProcAddress..ReadProcessMemory..etc..

cikara21 37 Posting Whiz

agree with bevoX..use iterative method instead of recursive method..

cikara21 37 Posting Whiz

click help...

cikara21 37 Posting Whiz

it's called default constructor..
->WHY in the parameter list does f= 0 and i = 0?..
prevent overflow/underflow i guess..i dont know why..
->What does it do...
Like all functions, a constructor can have default arguments.
They are used to initialize member objects. If default values are
supplied, the trailing arguments can be omitted in the expression
list of the constructor. Note that if a constructor has any
arguments that do not have default values, it is not a default
constructor

cikara21 37 Posting Whiz
//--- Form 7
...
public: System::String ^str1;
...

//--- Form 6
...
Form7 myForm;
my_form.str1 = "Hello world";
...
cikara21 37 Posting Whiz

->#3
That's correct..Where's the problem..
convert to char* then use atof to convert to float..

cikara21 37 Posting Whiz

1+2*3 and (1+2)*3. What's the output..

cikara21 37 Posting Whiz

Sorting..

void Stack::Swap(int x,int y)
{
   int t=num[x];
   num[x]=num[y];
   num[y]=t;
}

void Stack::Sort()
{
   int s="size now";
   for(int i=s-1;i>0;i--)
      for(int j=0;j<i;j++)
         if(num[j]>num[(j)+1])
            Swap(j,(j)+1);
}
cikara21 37 Posting Whiz

No, there isn't.
I wish there was.

yeah..really sorry for that..

cikara21 37 Posting Whiz

yeah i guess...

"c:/Docs/Source/a.txt"
Rashakil Fol commented: nope... -2
cikara21 37 Posting Whiz

hey guyz...how about this... * If that input is '=' exits program * that's the problem i guess..u can not delete/add something here..

cikara21 37 Posting Whiz

1..nah..0 is good..

cikara21 37 Posting Whiz

Then you should learn how to use Google Groups.
Adding a program at startup has been posted... 25000 times... for 18 years !

that's not nice..

death_oclock commented: Useless comment. +0
cikara21 37 Posting Whiz

Try this..

...
try
{
    SmtpClient client("?Host?");
    client.Port::set(587);
    MailMessage ^msg=gcnew MailMessage();
    msg->To->Add("?dest?");
    //...
    msg->From::set(gcnew MailAddress("?Sender?"));
    client.Send(msg);
    delete msg;
}
catch(System::Net::Mail::SmtpException ^e)
{
   //...Error handle
}
...
cikara21 37 Posting Whiz
cikara21 37 Posting Whiz
while(cin>>val)
 {
  //cin>>val;
  if(cin.fail())
  {
	  cin.clear();
	  cin.ignore(100);
	  cout<<"please enter an interger"<<endl;
          continue;
  }
  else
  {
      sum+= val;
      n++;
      cout<<"please enter another interger..."<<endl;
  }
}

that is it..i guess..

cikara21 37 Posting Whiz

use strtod instead of atoi...

cikara21 37 Posting Whiz

I love games..

cikara21 37 Posting Whiz

What's going on here?..

cikara21 37 Posting Whiz

More information please?..

cikara21 37 Posting Whiz

The fopen() function shall fail if:

[EACCES]
Search permission is denied on a component of the path prefix, or the file exists and the permissions specified by mode are denied, or the file does not exist and write permission is denied for the parent directory of the file to be created.

[EINTR]
A signal was caught during fopen().

[EISDIR]
The named file is a directory and mode requires write access.

[ELOOP]
A loop exists in symbolic links encountered during resolution of the path argument.

[EMFILE]
File descriptors are currently open in the calling process.

[ENAMETOOLONG]
The length of the filename argument exceeds {PATH_MAX} or a pathname component is longer than {NAME_MAX}.

[ENFILE]
The maximum allowable number of files is currently open in the system.

[ENOENT]
A component of filename does not name an existing file or filename is an empty string.

[ENOSPC]
The directory or file system that would contain the new file cannot be expanded, the file does not exist, and the file was to be created.

[ENOTDIR]
A component of the path prefix is not a directory.

[ENXIO]
The named file is a character special or block special file, and the device associated with this special file does not exist.

[EOVERFLOW]
The named file is a regular file and the size of the file cannot be represented correctly in an object of type off_t.

cikara21 37 Posting Whiz

SUGGESTION :

use SpecialFolder for app settings..

cikara21 37 Posting Whiz

that's funny...:P ...

//....
myClass.b = 5; 
//....
cikara21 37 Posting Whiz
LONG WINAPI RegCreateKeyEx(
   HKEY hKey,
   LPCTSTR lpSubKey,
   DWORD Reserved,
   LPTSTR lpClass,
   DWORD dwOptions,
   REGSAM samDesired,
   LPSECURITY_ATTRIBUTES lpSecurityAttributes,
   PHKEY phkResult,
   LPDWORD lpdwDisposition
);

string vOut; //....that's wrong

HKEY vOut;
cikara21 37 Posting Whiz

RegCreateKey...RegSetValue...RegCloseKey...etc.

cikara21 37 Posting Whiz

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

what do u think?...

cikara21 37 Posting Whiz

that's rite..u can use "release mode"..and then hide ur codes somewhere..