Search Results

Showing results 1 to 40 of 117
Search took 0.01 seconds.
Search: Posts Made By: u8sand
Forum: PHP 19 Hours Ago
Replies: 3
Views: 110
Posted By u8sand
worked tyvm, so i knew how to do it but i had to include the session start over every page that uses the session. Thanks.
Forum: C++ 1 Day Ago
Replies: 1
Views: 93
Posted By u8sand
I'm sorry, I can't help you if I don't even see the class. Please post the contents of String2.cpp
I'm assuming the class is named String? You probably get an error where it says "**** this is where...
Forum: C++ 1 Day Ago
Replies: 4
Views: 100
Posted By u8sand
#define MAX_LENGTH 256
int main(void) {
char userInput[MAX_LENGTH]; // use a character array not string

cout << "Enter a string to be converted:" << endl;
...
Forum: PHP 1 Day Ago
Replies: 3
Views: 110
Posted By u8sand
Hello guys,
I'm creating my own website-it's coming along very well but I'm stuck. There is a login, so that you can login to your account. Each account has an access of 1-10, if your access is 0...
Forum: PHP Aug 4th, 2009
Replies: 5
Views: 232
Posted By u8sand
Thanks.
I looked at w3schools but when i did things with php, when i ran it on my webpage it didn't do anything. php is very close to javascript accept for that fact that you need $ signs on...
Forum: PHP Aug 4th, 2009
Replies: 5
Views: 232
Posted By u8sand
Hello, I have my own website where I make programs and put them up on my web page, it has info on the programs ext.. I also allow other people to put up they just have to e-mail me with a specified...
Forum: Windows Vista and Windows 7 Aug 2nd, 2009
Replies: 0
Views: 211
Posted By u8sand
Microsoft Update wants to install the latest version of Silverlight (KB970363) on my computer but every time it goes i get the same error. (A picture of the error is attached).
I tried browsing to...
Forum: C++ Jul 10th, 2009
Replies: 1
Views: 171
Posted By u8sand
CString is extict because it is from MFC which is extinct, they may have it available but it is not up to date with everything. Any bugs that they had when they were out are still there. There is no...
Forum: C++ Jul 8th, 2009
Replies: 6
Views: 307
Posted By u8sand
I don't expect febonacci numbers to be negative, so why not use unsigned, it will give you twice the amount you can go.
And %d calls an integer, not a long (so it will only show what an integer...
Forum: C++ Jul 6th, 2009
Replies: 2
Views: 246
Posted By u8sand
Some compilers that are stupid the gaurds still wont work, if that is so try using pragma once at the top.

#pragma once
Forum: C++ Jul 6th, 2009
Replies: 6
Views: 566
Posted By u8sand
Which is why you retrieve the input with a string (because a string can handle any text input) and turn it into an integer if its valid.
Forum: C++ Jul 6th, 2009
Replies: 6
Views: 566
Posted By u8sand
The atoi function returns an integer from a string. So:

char buf[256];
// Ask for input here
cin.getline(buf,256);
int num = atoi(buf);
if(num == 0)
cout << "Error";
Forum: C++ Jul 3rd, 2009
Replies: 4
Views: 282
Posted By u8sand
Your going to have to provide us with the GeneralTreeNode class please.

------------ edit -----------------
oh its a structure didn't see.. one sec lemme look this over again.
------------ edit...
Forum: C++ Jul 3rd, 2009
Replies: 4
Views: 237
Posted By u8sand
I didn't really look at anything accept for the main function. Wouldn't it make sense to have a loop? It looks like your only calling the human to move once, then the computer the move once. Then the...
Forum: C++ Jul 3rd, 2009
Replies: 3
Views: 247
Posted By u8sand
First of all, please surround your code with code tags or it makes it very hard for us to read. Second I would do this with array's, it seems it would make more sense, but this is an assignment.....
Forum: C++ Jul 2nd, 2009
Replies: 13
Solved: C++ arrays
Views: 506
Posted By u8sand
O Sorry, it don't let me edit now -.-
Here:

int **array;
int sizeX,sizeY;
sizeX = 5; // set to whatever
sizeY = 5; // set to whatever
array = new int*[sizeY];
for(int i = 0; i < sizeY; i++)...
Forum: C++ Jul 2nd, 2009
Replies: 13
Solved: C++ arrays
Views: 506
Posted By u8sand
I would recommend:

int **array;
int sizeX,sizeY;
sizeX = 5; // set to whatever
sizeY = 5; // set to whatever
array = new int*[sizeY];
for(int i = 0; i < sizeY; i++)
array[i] = new...
Forum: HTML and CSS Jul 1st, 2009
Replies: 14
Views: 829
Posted By u8sand
I also may recommend framesets. You can look into that, i recommend for almost all web programming: www.w3schools.com.
Forum: Windows NT / 2000 / XP Jul 1st, 2009
Replies: 4
Views: 1,550
Posted By u8sand
First of all, it would seem you have a Trojan Virus. It would also seem that it is re-running itself at startup. Whatever anti-virus you are using is not getting rid of it. When your anti-virus finds...
Forum: Web Browsers Jul 1st, 2009
Replies: 18
Views: 1,948
Posted By u8sand
Firefox all the way. It's not the fastest though. Google Chrome is by-far faster than Firefox but still in it's BETA stage. ATM Firefox is the best possible browser to go with. It's open source, very...
Forum: Windows Vista and Windows 7 Jul 1st, 2009
Replies: 3
Views: 319
Posted By u8sand
If you ask me, I would just get Firefox. It is better than IE in so many ways its not even funny. Firefox is open source, so chances of problems with ad-ons are minimal. Don't use chrome yet because...
Forum: Windows Vista and Windows 7 Jul 1st, 2009
Replies: 7
Views: 470
Posted By u8sand
Usually Ubuntu take's control with the booting, but i think you may be able to boot into ubuntu if you do something with sys.exe -> Boot.
Also check Ubuntu's webpage. They may have a newer version...
Forum: C++ Jul 1st, 2009
Replies: 30
Views: 1,405
Posted By u8sand
I once tried to do something like this with ONLY C++. Tried to take all the contents of a document and remake it with the same thing. The problem is though that there are some characters that may not...
Forum: C++ Jul 1st, 2009
Replies: 10
Views: 319
Posted By u8sand
string str = "This is a sentence.";
string newStr;
int len = 0;
for(int i = 0; i < str.len; i++)
{
newStr += str[i];
if(str[i] == ' ')
while(str[++i] == ' ')
...
Forum: C++ Jul 1st, 2009
Replies: 2
Views: 314
Posted By u8sand
I know that, I always find that books are better... Anyone know a good book on WindowsAPI ?
Forum: C++ Jul 1st, 2009
Replies: 2
Views: 248
Posted By u8sand
Couldn't Find much there :/
Forum: C++ Jul 1st, 2009
Replies: 2
Views: 314
Posted By u8sand
Hey guys,
I've been programming in consoles/visual C++. But i've been wanting to learn WindowsAPI programming WITHOUT the stupid visual interface for a while now. Could someone provide me some...
Forum: C++ Jul 1st, 2009
Replies: 4
Views: 442
Posted By u8sand
I would help you but you see. I'm only a beginner to Network Programming myself. I still have failed to find a good tutorial. When i try to compile it on DevC++ None of the headers are recognized....
Forum: C++ Jul 1st, 2009
Replies: 6
Views: 481
Posted By u8sand
It is call-by Reference but you didn't use a reference anywhere.

--------- Edit ---------
Heh angi, you posted right before me -.-
Forum: C++ Jul 1st, 2009
Replies: 6
Views: 311
Posted By u8sand
You won't be reinventing the wheel if your using dlls from other software to make it. It will just basically be organizing and making your own GUI. If you really want to "Reinvent the Wheel" then...
Forum: C++ Jul 1st, 2009
Replies: 4
Views: 442
Posted By u8sand
Please wrap your code in code tags with:
[code=cplusplus]
and a closing tag
[/ code] (without the space)


and also, being new to programming, why would you start on networking? Why not try...
Forum: C++ Jul 1st, 2009
Replies: 2
Views: 248
Posted By u8sand
I am interested in making my own Hide to Tray program that will hide any program i choose to the tray. I already know how I'm going to do it.. all i need is to know how to hide another window.

In...
Forum: Windows Vista and Windows 7 Jun 30th, 2009
Replies: 3
Views: 535
Posted By u8sand
Thanks i looked here didn't notice the stuff on the left tho xD
Forum: Windows tips 'n' tweaks Jun 30th, 2009
Replies: 15
Views: 5,779
Posted By u8sand
Win-Key is the same key that opens the start button. It is used for many windows shortcuts. Here's a list of them:

Win-Key : Start Menu
Win-Key + R : Run...
Win-Key + D : Show Desktop
Win-Key +...
Forum: Windows tips 'n' tweaks Jun 30th, 2009
Replies: 18
Views: 3,441
Posted By u8sand
Why not just zip it and password protect/encrypt?
Because system, read-only, archived, hidden files are annoying for the system, it keeps asking: "Are you sure?" on vista.
Forum: Windows Vista and Windows 7 Jun 30th, 2009
Replies: 3
Views: 535
Posted By u8sand
I looked on google for this all i found was people wanting it TO hibernate, it may seem weird but i DON'T want mine to. This way i can run a server on it without it glowing all night :/

Anyone...
Forum: C++ Jun 30th, 2009
Replies: 2
Views: 211
Posted By u8sand
That is what i was talking about that attached to the process. But this doesn't explain it much its just source, but I will continue to look into it. If anyone has any other links. Please?
Forum: C++ Jun 30th, 2009
Replies: 2
Views: 211
Posted By u8sand
Hey guys,

I was looking at a program that "extended" taskmanager by attaching a dll to the taskmanager's process. I was wondering how this is done and how they were able to add new features and...
Forum: C++ Jun 30th, 2009
Replies: 14
Views: 608
Posted By u8sand
Ask the person you got the source from what compiler they used, then get that compiler and use it to compiler. OR look through the errors, try and fix them. For example: In Visual Studio you write:
...
Forum: C++ Jun 30th, 2009
Replies: 10
Views: 426
Posted By u8sand
The output would be:

PersonOne's First name is: John
PersonOne's Last name is: Doe
PersonOne's Birthday is: 12/30/1978
PersonOne's Phone number is: 5855555

Then it will exit right...
Showing results 1 to 40 of 117

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC