|
You didn't have to be so elaborate. Too much information
|
|
|
|
|
Tempting as it is to make a joke reply, it's already been done.
As a serious reply:
Have a look at the forum posting guidelines, it will help you get answers next time you post.
Next, what does your project do? If you're doing a programming course, you should make sure you use the skills you've been taught. If someone here gives you lots of help, your tutor will be very suspicious of the high quality complex code you hand in. I'd mark you down for cheating if I was him / her.
When you have something specific you're struggling with, feel free to come back and post. We try not to answer homework questions directly, but I do try and give people hints to the right direction. If we just gave you all the answers, you wouldn't learn anything, so this course would be a waste of your time, and a waste of any employer giving you a job when you didn't learn the material.
I'm going to assume you're better than that, and wish you success on your project and course.
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
Well said. I just hope that the OP is going to read (and understand) your reply.
|
|
|
|
|
|
merry jermamae arcilla wrote: i need some codes using c++ program for our project. can i?
Of course: I used a C++ program to generate the following codes, that you can add to your project free of any charge
code 1: A5A5
code 2: 12AWZIP13
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Besides I would think you spend all your time twittering these days you frakin loser.
|
|
|
|
|
Sure you can. This site has a few thousand article just full of codes that you can.
|
|
|
|
|
Can anyone give me a sample extended combobox application in vc++??
thanks,
Rakesh
|
|
|
|
|
Many people can:
http://www.codeproject.com/KB/combobox/[^]
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
Hi Iain, thanks for your reply..
it seems the articles are all on c#... i want in vc++..
is any article available there??
thanks,
rakesh
|
|
|
|
|
Rakesh5 wrote: it seems the articles are all on c#
No, no they're not!
I've just looked, and above the article is an orange line. Click on "MFC", and you'll get the articles I can see!
Mystery solved!
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
Hey Iain,
can you please tell me the author of the post you are mentioning?
thanks,
|
|
|
|
|
|
I need to get the user to input a number of the number array they want to look in.
hence
cin>>number
but how can i do a loop that it will check that arrays number is there any tutorials on this? or any help?
|
|
|
|
|
Your question is a bit unclear. Are you asking for something like:
int nNumbers[] = {5, 8, 7, 1, 5, 0, 2, 8};
cin >> nIndex;
cout << nNumbers[nIndex];
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
no. im basically making a simple battleships game where by the array has 20 fields ad randomly within in them 6 number 1 intergers. I want the user to input say cin>>array[i] user puts in 16 and it searches for array field 16 if it is a 1 then i want it to display hit otherwise if it is zero then miss. but i think i could us an if...else...statment?
|
|
|
|
|
Yes, you'll need an IF. You want to do different things depending on a condition. That's what if does.
This is very basic stuff - can I point you to a good book? I learnt a lot from:
http://www.amazon.co.uk/C-Programming-Language-2nd/dp/0131103628/ref=sr_1_12?ie=UTF8&s=books&qid=1237899112&sr=8-12[^]
It's pure C, and won't cover cin / cout, but you need to get the fundamentals of if / while / for under your belt before you can do anything with C/C++/any programming language. It's also quite a small book, but loads of information on every page.
Good luck with your journey,
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
Hi,
I have a Dialog...like...which is having four group boxes(which contains some controls inside them) as below
G1
G2
G3
G4
At one condition i need to Display only G1 and G2(ie hide G3 ,G4) and in other condition i need to show G3 and G4 (hide G1,G2) and get replaced in G1,G2 positions and should look like
G3
G4
Please help me regarding the same...
|
|
|
|
|
SetWindowsPos [^] (or MoveWindow [^]), ShowWindow [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
At least the order is different..
He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus
|
|
|
|
|
You know, I'm a 'disordered' man...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Search for:
ShowWindow()
SetWindowPos() or MoveWindow()
He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus
|
|
|
|
|
In my project, I got the following error:
fatal error C1083: Cannot open include file: 'xercesc/util/XercesDefs.hpp': No such file or directory
But this was there in the following path:
D:\Development\GlestOld\xerces-c_2_8_0-x86-windows-vc_8_0\include\xercesc\util
I've added this path to the Additional Include Directories in the project Settings.
I've also added the following library path to Additional Library Directories in the project settings.
D:\Development\GlestOld\xerces-c_2_8_0-x86-windows-vc_8_0\lib
But the errors persists. What to do?
Regards,
Rathakrishnan.
|
|
|
|
|
If you added this exact path: "D:\Development\GlestOld\xerces-c_2_8_0-x86-windows-vc_8_0\include\xercesc\util" to the include directory, then you need to include "XercesDefs.hpp" and not "xercesc/util/XercesDefs.hpp".
|
|
|
|
|