Search Results

Showing results 1 to 32 of 32
Search took 0.01 seconds.
Search: Posts Made By: salman213
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009
Replies: 1
Views: 302
Posted By salman213
Hi I am new to VB but I was trying to just make a program so that if you press the letter A on your keyboard the text in a textbox is added to 1 (it starts at 0).... I'm using vb 2008 express...
Forum: C Nov 20th, 2008
Replies: 6
Views: 641
Posted By salman213
By the way im actually programming in C for something else thats why im using it and not Cin/cout.

AND THANKS


fflush(stdin);

seems to work,
just a question, wat is the equivalent...
Forum: C Nov 19th, 2008
Replies: 6
Views: 641
Posted By salman213
Hi i have a question. Im using Dev C++ and this simple program takes in values of x and outputs *prints them on the screen. Although x should be an integer If i put in for example the letter "u" or...
Forum: C++ Jun 21st, 2008
Replies: 14
Views: 886
Posted By salman213
GOOD POINT, never noticed that.

so how about this


#include <iostream>
using namespace std;
bool check (unsigned int checkvariable[], int a);
int main()
{
Forum: C++ Jun 21st, 2008
Replies: 14
Views: 886
Posted By salman213
would this be better or worse :(???


#include <iostream>

using namespace std;

int check (unsigned int checkvariable[]);

int main()
Forum: C++ Jun 21st, 2008
Replies: 14
Views: 886
Posted By salman213
Is this right?

#include <iostream>

using namespace std;

int main()
{
srand(time(NULL));
Forum: C++ Jun 20th, 2008
Replies: 8
Views: 1,012
Posted By salman213
which way is "obfuscatory?"

Is there a specific command that has not been mentioned yet which is now available that will do the same thing?


Not that I have any problem with the way described...
Forum: C++ Jun 20th, 2008
Replies: 8
Views: 1,012
Posted By salman213
Hmm I guess that is the way to do it if you want to go mathematically .. I should have thought of that...:( so dumb..lol

Thanks Ancient :)


I will use that but just to check if anyone knows of...
Forum: C++ Jun 20th, 2008
Replies: 8
Views: 1,012
Posted By salman213
very simple question: what is the most easiest way to do the following

I have two variables

a=1;
b=2;

how do I make it that

c= a,b
Forum: C++ Jun 20th, 2008
Replies: 5
Views: 1,070
Posted By salman213
alright thanks alot for explaining so clearly. :)

cool..
Forum: C++ Jun 20th, 2008
Replies: 5
Views: 1,070
Posted By salman213
is it possible to think of it as a matrix?

for example

char array[2][2];

Isn't this what we are forming

0 1
0
Forum: C++ Jun 20th, 2008
Replies: 5
Views: 1,070
Posted By salman213
Hey, here are two codes and with one slight difference they do different things
CODE 1

#include<iostream>
using namespace std;
int main()
{
char array[2];
int i=0;
while (i<2)
Forum: C++ Jun 20th, 2008
Replies: 6
Views: 496
Posted By salman213
Forum: C++ Jun 20th, 2008
Replies: 6
Views: 496
Posted By salman213
oh that makes sense!!!!!!

but can u just make the

int x and int y public instead?

then call rectb.x and rect.x etc.
?
Forum: C++ Jun 20th, 2008
Replies: 36
Views: 3,285
Posted By salman213
I usually think of an "Expert Meanie"... ;)

hehehe just kidding...

In order to begin learning about Win32 and other programming languages for windows applications, I see C++ knowledge is a...
Forum: C++ Jun 20th, 2008
Replies: 6
Views: 496
Posted By salman213
Ok thanks I think I understand my previous question but another question are the values "3" and "4" or "5" and "6" stored in any specific variable?

Like if I wanted to show the "3" and "4" can I...
Forum: C++ Jun 20th, 2008
Replies: 6
Views: 496
Posted By salman213
#include <iostream>
using namespace std;

class CRectangle {
int x, y;
public:
void set_values (int,int);
int area () {return (x*y);}
};
Forum: C++ Jun 20th, 2008
Replies: 36
Views: 3,285
Posted By salman213
thanks... u can edit ur quote as well if u would like. :)
Forum: C++ Jun 20th, 2008
Replies: 36
Views: 3,285
Posted By salman213
haha Narue you're a funny woman.., i'm not so bad at picking out the experts and arrogant individuals either. Thanks anyways for the link.

do you mind telling me what the difference between a GUI...
Forum: C++ Jun 20th, 2008
Replies: 36
Views: 3,285
Posted By salman213
Is a graphical user interface the same thing as an application? Why do they call it GUI (is it a GUI if your working in LINUX and an application if your working in Windows?). Or is a GUI a standard...
Forum: C++ Jun 19th, 2008
Replies: 36
Views: 3,285
Posted By salman213
Alright thanks a lot for the book links I will be sure to check out what I can. And thanks Shaun for the motivation and "talk." Most people are nice enough to answer so I don't mind too much if...
Forum: C++ Jun 19th, 2008
Replies: 36
Views: 3,285
Posted By salman213
oh okay, sorry, I will try to be more clear next time.

By the way I was asking previous your post, is there a different programming approach other than win32 (which seems specifically for windows...
Forum: C++ Jun 19th, 2008
Replies: 36
Views: 3,285
Posted By salman213
haha Yes I know I just started C++ but I was just wondering why should I learn it. I mean I was not getting much from just inputs of numbers etc. I didnt see the point. But now i see as I get better...
Forum: C++ Jun 19th, 2008
Replies: 36
Views: 3,285
Posted By salman213
if I were to rate the responses, william gave the best response. I little use of google about win32 has answered my question pretty well. I never was really asking tell me step by step so I can make...
Forum: C++ Jun 19th, 2008
Replies: 36
Views: 3,285
Posted By salman213
Ok i did not see the above post, I will google now, perhaps that will answer the below question which I entered before reading the post by william. :)


By the way is it possible for an expert in...
Forum: C++ Jun 19th, 2008
Replies: 36
Views: 3,285
Posted By salman213
but howwwwwwwwwwwwwwwwwww :O

I may be slow according to you guys but just finding out that a little command prompt that I have been seeing for the last few days after running a simple program can...
Forum: C++ Jun 19th, 2008
Replies: 36
Views: 3,285
Posted By salman213
Just to clarify, I do not have a job or a job offer anywhere, I am a basically beginner in C++. At the moment from what I know about C++ (very minimal), I started to wonder how C++ is used in the...
Forum: C++ Jun 19th, 2008
Replies: 36
Views: 3,285
Posted By salman213
But I mean if I got a job which required C++ knowledge, what would they ask me to program? Like I guess it could be anything but what are common practical applications of C++. Can you name a specific...
Forum: C++ Jun 19th, 2008
Replies: 36
Views: 3,285
Posted By salman213
Hi, I am a beginner in C++, I was just wondering what is it good for. This is probably a dumb question but I was searching on yahoo and google (What is C++ good for), and I did not find any real...
Forum: C++ Jun 19th, 2008
Replies: 7
Views: 699
Posted By salman213
Alright, thanks for the information but for the first question i was asking if I give the array a value for example


1.
2.
3. int myIntArray[5];
4. myIntArray[0]=1;
5. cout << myIntArray[0]...
Forum: C++ Jun 19th, 2008
Replies: 7
Views: 699
Posted By salman213
Okay, thank you for replying. According to what I have read and tried out, what I seem to understand is that if I do it the way i'm saying by declaring array[i] and i separately, it only could lead...
Forum: C++ Jun 18th, 2008
Replies: 7
Views: 699
Posted By salman213
Hi, I was recently reading a tutorial on C++ and I had a question about dynamic memory.

The first paragraph of the tutorial stated the following:

"Until now, in all our programs, we have only...
Showing results 1 to 32 of 32

 


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

©2003 - 2009 DaniWeb® LLC