Forum: C++ May 29th, 2006 |
| Replies: 12 Views: 7,345 its very difficult to explain how to make the game.. if u ve any doubts they can be solved easily.. it is about scanning ur matrix in which u re storing ur current board postions.. and for every scan... |
Forum: C++ Sep 13th, 2005 |
| Replies: 6 Views: 3,781 Have u got all the points on the projectile?? If so then simply incude graphics.h in your program and then read through a bit of the help.. Plotting of the points will be easy.. So i dont think u ll... |
Forum: C++ Sep 10th, 2005 |
| Replies: 2 Views: 1,163 Why dont u return the value of i to ur parent function and then whenever u have to perform the operation pass i as a parameter to it?? |
Forum: C Sep 10th, 2005 |
| Replies: 7 Views: 1,738 hey..
What is ur purpose for knowing the computation time?? If its an ideal code then u will have to code directly in assembly to idealise ur coding.. compilers generally break an instruction in a... |
Forum: C Aug 31st, 2005 |
| Replies: 4 Views: 1,791 As far as possible try to allocate memory only when required and dont use static data structures..
if ur talking abt the resources of the comp.. then make a 32 bit program.. and not a dos based 16... |
Forum: C++ Jul 25th, 2005 |
| Replies: 5 Views: 2,600 The use of ur structure seems fine...
To input multiple contacts just put an infinite while loop to enclose ur switch statment... so u will quit whenever u click quit.. that way u can get rid of the... |
Forum: C++ Jul 23rd, 2005 |
| Replies: 13 Views: 2,359 then wat he is doing sounds correct |
Forum: C Jul 23rd, 2005 |
| Replies: 7 Views: 27,230 if thats wat u want to do... jumbling up the letters of something then why dont u just transfer them to different arrays as u rquire and finish ur work of.. tht shudnt be difficult.. |
Forum: C++ Jul 23rd, 2005 |
| Replies: 13 Views: 2,359 wat exactly do u mean by alternating sums using vectors?? |
Forum: C++ Jul 23rd, 2005 |
| Replies: 13 Views: 17,233 u cant assign an element at each position as u r doing.. u doing it like this rite..??
a[3]="a";
pls post the code..
the part where u re passing the parameter u have to receive a pointer.. then... |
Forum: C++ Jul 23rd, 2005 |
| Replies: 6 Views: 2,131 u can get lotsa source codes on www.planetsourcecode.com for free |
Forum: C Jul 23rd, 2005 |
| Replies: 1 Views: 1,368 hey..
could someone give me some good resources on how to implement and use dialog boxes in windows applications.. |
Forum: C Jul 11th, 2005 |
| Replies: 2 Views: 1,360 |
Forum: C++ Jul 11th, 2005 |
| Replies: 4 Views: 1,933 yeah..
i think this is the forum where ppl shud try out some stuff and then come and solve their problemsif any.. its not a place to get ur homework done.. |
Forum: C Jul 11th, 2005 |
| Replies: 2 Views: 1,360 I would like some help regarding multithreading...
i want to know what exactly happens when i start a new thread... i.e how it affects the variables etc. in the program...
one query i have is... |
Forum: C Jul 4th, 2005 |
| Replies: 6 Views: 2,038 could u pls tell how to do the conversion from an object to a pointer to a char.. |
Forum: C Jul 3rd, 2005 |
| Replies: 6 Views: 2,038 ok.. i realise the example i gave was very wrong and not related to what i want..
my prob is as follows..
i am writing a network program.. after sending using WSASend i am receiving "buffer" of... |
Forum: C Jul 3rd, 2005 |
| Replies: 6 Views: 2,038 i am writing a program.. in that i am needed to represent an array using pointers only..(its a constraint i ve to work with).. the prob i am facing can be shown by this small program.. pls help me... |
Forum: C++ Jul 2nd, 2005 |
| Replies: 6 Views: 5,556 Why??
They really form the basis of all the rest of visual studio etc..
and are really simple to understand all the basics...
work a while on them and then switch to the new gen stuff.. i found it... |
Forum: C Jul 1st, 2005 |
| Replies: 1 Views: 1,206 Hey
Anyone has any idea how to convert from any data type to strings.. so that i may use the winsock send functions for sending data.. as only strings can be sent in that..
i need to send... |
Forum: C Jul 1st, 2005 |
| Replies: 1 Views: 1,155 u can try out some sample programs on www.planetsourcecode.com
can find something in that most probs.. |
Forum: C++ Jul 1st, 2005 |
| Replies: 6 Views: 5,556 visual studio .net 2003 shud be gr8... i ve been programming on that..
but if u re just learning to program then advice u better start off with turbo c or borland c..or c++..
it ll be much better.. |
Forum: C++ Jul 1st, 2005 |
| Replies: 10 Views: 17,811 i ll give u a fn or the gcd of 2 nos..
int gcd(int x,int y)
{
if ( y>x )
swap(x,y);
while ( y!=0 )
{
temp=y;
y=x-y; |
Forum: C Jun 30th, 2005 |
| Replies: 3 Views: 3,342 yeah
the switch statment shud solve all ur probs..
for any source code u want i think the best site is
www.planetsourcecode.com
u ll get everything in tht site.. |
Forum: C Jun 30th, 2005 |
| Replies: 6 Views: 2,151 hey
according to me the program crashing should be a different reason as i have included a cpp file in programs and run them without error.. post the problematic code.. |
Forum: C++ Jun 30th, 2005 |
| Replies: 4 Views: 2,358 hey
wat exactly is your trouble
u ve got all ur formulas rite i suppose then where is the difficulty |
Forum: C++ Jun 29th, 2005 |
| Replies: 5 Views: 9,050 c++.net should be able to use all the headers of vc++.. |
Forum: C Jun 26th, 2005 |
| Replies: 2 Views: 4,324 hey
i would like to know if there is anyway i can send an object or a structure directly using any winsock2 function..
its mighty difficult to convert to a string and send as required by WSASend... |
Forum: C Jun 26th, 2005 |
| Replies: 9 Views: 3,142 i really think it ll be mch easier for you to work with a 2D array..
in case u r using a 1D array u ll have to do some computations to find out which positions to search for..
that should not be... |
Forum: C Jun 22nd, 2005 |
| Replies: 0 Views: 1,089 I am writing a windows program.. in that i ve to do one job and the other only if the user tells me to do it and then i ll interuppt the first one.. if i create a messagebox for one i.e the user... |
Forum: C Jun 17th, 2005 |
| Replies: 4 Views: 12,435 could u pls tell me how i do that.. i am a beginner so have lots to learn |
Forum: C Jun 17th, 2005 |
| Replies: 4 Views: 12,435 this is the link error it is showing:
Linking...
a.obj : error LNK2001: unresolved external symbol "int __stdcall connect(unsigned int,struct sockaddr const *,int)"... |
Forum: C Jun 16th, 2005 |
| Replies: 4 Views: 12,435 I am trying to develop a basic communicating link using windows sockets in visual studio.net2003... but it is showing an lnk2001 error.. is it necessary that have to get the platform SDK and install... |