Challenge to write a program

This is a discussion on Challenge to write a program within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I have been challenged to write a program in Borland turbc C++ 3.1.
i have been supplied with the .exe ...

oh im sorry Salam, i didn't mention that i have looked lots of places for help

im not askin anyone to write the whole program for me but i am really stumped by this task i have been given.

i'm only askin for one little tiny piece of code, if u want to see the .exe file i can send it to you (althought u may need to download the complier to view it) u will see just how much work there it that i will have to do.

a little example code would be very very helpful so that i have some kind of starting point.

trust me, once i have some code i will be posting it asking for help, but how can i get any code when i don't know even how to draw a simple button in c++?

Begin by telling us what you do know about C++. If you don't know how to program, then a small snippet of code isn't going to do you a lot of good. Likewise, if you have no experience with C++ then an advanced topic such as button creation will be far too difficult. I take it this is a windows program?

ive done basic C++ coding, i'm not very great at it but i know enuf to get by, functions are fairly new to me, but im gettinthe hang of them.

so lets say i am intermediate? put it this way, im in my 1st year at uni doin a HND in Comp sys engineering, so im learning how to use c at the mo... just i've not been able to pick it up as well as some people have

if u want to see the .exe file i can send it to you (althought u may need to download the complier to view it) u will see just how much work there it that i will have to do.

The compiler won't let you "view" the code. De-compiling is a bit like un-scrambling an egg. You can get a de-compiler, but it won't reproduce the original source. It's almost always easier to start-over, than to try and decypher de-compiled code!

In your case, the exe file is a demonstration/example of what your program is supposed to do.

functions are fairly new to me

Yep, you're a beginner... And graphics is an advanced topic.

buttons (so that when u choose the relevent button they seem to depres), radio buttons/check boxes and drop down lists?

This is windows / GUI stuff. It's going to take at least several months of study before you're ready to tackle windows programs. Windows programs are shockingly more complex than console programs! Here are some links to windows tutorials, etc. WINDOWS

FYI - ANSI/ISO standard (portable) C++ does not include any graphics. Graphical programs have to be written for a particular platform/compiler... although there are cross-platform tools.

the .exe file requires some of the files inthe compiler to run, and yes its an example of what the code needs to replicate. and trust me if i could view the source code i would not be askin for an example code for the drop down box from any of you guys.

lets see.. i have to do this by 2nd june.. i've already said im not a total beginner, but this is harder than what ive been doin

we have done some graphics stuff in C in Uni, drawing a button.. which i did from an example .cpp.. but i dont know quite how it worked.

and yes i know that the 3.1 dont have any graphics stuff, i know it has to all be drawn

take a look at the demo .exe and u will get what i mean, its hard to explain it when no one knows what the thing is meant to be like.

i just would like to know how to make one of the dropdown/scrolling list boxes, that way i can learn from seein the code manually and i can edit it and play about with it to my hearts content.

actually i dont need to whole program calv but thanks for ur support! just the one little bit of the drop down box.. if u think u an write the whole thing then be my guest....but i dont expect anyone to write it all for me

if anyone has some USEFUL links, i.e some demo codes that would do the trick that i want then please let me know

also if anyone looks at the .exe file i would be glad if u can let me know what u think about it

Borland is what we use in Uni, i dont make the course up heehee, i personally dont like it too much.

yeah its part of my coursework, but the tutor cant help us as it will bummer up the grades and stuff and hes just no good at teaching it anyway!

if u want the borland complier theres a link on an earlier post so u can download it (3.3mg if i rem) its fairy simple to install and stuff.

i do have visual 6 c++ but its totally different from what we have to use. i did have visual studio.net or sumtin, 90 day evaluation thingy from microsoft, but dont ask where it is, it could be a coaster heehee