That attitude isn't likely to make you any friends.
that's ok..I'm sorry..:)
That attitude isn't likely to make you any friends.
that's ok..I'm sorry..:)
Thank u very much sir..Don't know how to solve the problems sir..Could u tell us sir..:p
>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
Reset your var..Cleanup..Then call menu..It's hard to read your codes..esspecialy if it invinsible..
Is this valid?.. #pragma warning(disable:'warn code')
..:p
Yo..Take it ez..U dont even better than him..So..:p
>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..
Replace..
if(usrInput.c_str()[usrInput.length()-1]=='%')
...
with
if(usrInput[usrInput.length()-1] == '%')
umm..sorry..:D
operator=(Contoh &B)
type "plot", "PLOT", "plot blah", "plot blah blah", "PLOT BLAH", "PLOT BLAH BLAH"..good luck..
void monthsSet::unionSet (monthsSet &B, int idx, bool val)
{
B.months[idx] = val;
}
Hello Xonxon..Are u Xonxon kesana kemari..
Have u check preprocessor definitions configuration.. WIN32;NDEBUG;_WINDOWS
then use Double res
.. Double.Parse(...)
or Double.TryParse(...)
Or use.. execlp(...)
Int32 res=Int32.Parse(textBox1.Text);
res=res*Int32.Parse(textBox2.Text);
textBox3.Text=res.ToString();
1TB,2TB and 3TB... ???
rite version...
TB1,TB2 and TB3
Welcome..don't worry..the experts will help u..jusk ask them..:)
You are escaping the escape character, not the quotes here.
yep..sorry..fixed..thank u..;)
gotoxy...SetCOnsoleCursorPos..
this one?..
...
cout << "\"Movie Name: " << setw(22) << movieTitle<<"\"" << endl;
...
cout << "Movie Name: \" " << setw(22) << movieTitle <<"\""<< endl;
...
Use GetProcAddress..ReadProcessMemory..etc..
agree with bevoX..use iterative method instead of recursive method..
click help...
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
//--- Form 7
...
public: System::String ^str1;
...
//--- Form 6
...
Form7 myForm;
my_form.str1 = "Hello world";
...
->#3
That's correct..Where's the problem..
convert to char* then use atof to convert to float..
1+2*3 and (1+2)*3. What's the output..
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);
}
No, there isn't.
I wish there was.
yeah..really sorry for that..
yeah i guess...
"c:/Docs/Source/a.txt"
hey guyz...how about this... * If that input is '=' exits program *
that's the problem i guess..u can not delete/add something here..
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..
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
}
...
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..
use strtod instead of atoi...
What's going on here?..
More information please?..
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.
SUGGESTION :
use SpecialFolder for app settings..
that's funny...:P ...
//....
myClass.b = 5;
//....
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;
RegCreateKey...RegSetValue...RegCloseKey...etc.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
what do u think?...
that's rite..u can use "release mode"..and then hide ur codes somewhere..