| Author |
What should i do next?? |
SSJ5
Member
Posts: 11
Location:
Joined: 11.09.05 Rank: Apprentice |
|
I am learning c++ but my problem is i don't know what to do next. I know how to use pointers, classes etc... in C++ but i haven't written a real program, only assigments from the university(calculating arithmetic means, mean deviation etc)...
What should i do?
Thank you
|
|
| Author |
RE: What should i do next?? |
jjbutler88
Colemak User

Posts: 590
Location:
Joined: 22.04.07 Rank: Guru |
|
In all seriousness, why did you learn c++? If it was just for uni, then your objective has been completed. If you learnt it for other reasons as well my suspicions are that you wouldn't be asking this question.
|
|
| Author |
RE: What should i do next?? |
jjbutler88
Colemak User

Posts: 590
Location:
Joined: 22.04.07 Rank: Guru |
|
|
jelmer wrote:
\0
??
Surely you can manage more than just a null byte!?
|
|
| Author |
RE: What should i do next?? |
cubix
Member
Posts: 38
Location: Close enough
Joined: 19.11.09 Rank: Monster |
|
Perhaps you can check out how to design and implement GUIs if you don't know how already. Or you can just go deeper into C++ features like polymorphism or abstraction. That's if you don't know much about those already.
 |
|
| Author |
RE: What should i do next?? |
Apophis
Member
Posts: 86
Location:
Joined: 02.10.09 Rank: Moderate |
|
|
SSJ5 wrote:
but i haven't written a real program, only assigments from the university(calculating arithmetic means, mean deviation etc)...
What do you think a "real" program is? What do you think is required to make one of these programs? Learn some of these things and start applying them.
|
|
| Author |
RE: What should i do next?? |
Folk Theory
Member

Posts: 611
Location: South New World
Joined: 08.09.06 Rank: Elite |
|
write a Unix shell with signal handling and job control. and some built in commands.
 |
|
| Author |
RE: What should i do next?? |
maug
Member

Posts: 612
Location:
Joined: 20.07.08 Rank: Monster |
|
|
Apophis wrote:
What do you think a "real" program is?
I think he meant something that is practical. it would be easier to give a good idea if I knew what else you're studying.
I pwn kittens. |
|
| Author |
RE: What should i do next?? |
SSJ5
Member
Posts: 11
Location:
Joined: 11.09.05 Rank: Apprentice |
|
Yes maug is right, i meant practical.
I study electrical and computer engineering |
|
| Author |
RE: What should i do next?? |
Apophis
Member
Posts: 86
Location:
Joined: 02.10.09 Rank: Moderate |
|
|
maug wrote:
I think he meant something that is practical. it would be easier to give a good idea if I knew what else you're studying.
I know, the point was for the OP to decide what he thinks is a practical program. If he knows what he wants, all he has to do is make it.
For somebody studying electrical/computer engineering, from what I understand a practical project for you would be to build something with a microprocessor and program it. Perhaps a simple robot, a remote control car, a USB device. There are a ton of possibilities.
|
|
| Author |
RE: What should i do next?? |
maug
Member

Posts: 612
Location:
Joined: 20.07.08 Rank: Monster |
|
I'd think coding a microprocessor would be a job for asm, not c++. As a computer engineer you'll have to learn a lot of asm anyways, so you could get going on that. Coding the gui for an OS or other program could be a good project too.
One of the best resources I found in school was talking to the techs/TA's/teachers.
I pwn kittens.
Edited by maug on 24-11-09 20:02 |
|
| Author |
RE: What should i do next?? |
ynori7
Future Emperor of Earth

Posts: 1481
Location: #valhalla
Joined: 08.10.07 Rank: Diabolical |
|
|
maug wrote:
I'd think coding a microprocessor would be a job for asm, not c++. As a computer engineer you'll have to learn a lot of asm anyways, so you could get going on that. Coding the gui for an OS or other program could be a good project too.
I coded a program for a simple robot in C. The microprocessor was designed to understand that code of course, I didn't build that component.
|
|
| Author |
RE: What should i do next?? |
PassingShade
Member

Posts: 1
Location:
Joined: 25.08.09 Rank: Wiseman |
|
When I'm short of ideas for programming I usually consider what I use my computer for, and base my programs on what would make using my computer more efficient.
I'd suggest just start writing code for simple programs and let the ideas come to you. Such as the logical challenge #6, I was bored so I wrote a program to calculate volume by values entered by the user. Encryption Challenge #9, I wrote a program to encode/decode text/numerical values based on the cellphone's keypad values.
Then again, coding has a personality, I prefer writing programs that use mathematical expresblockedsions while others prefer working with visual styles. Find what you prefer and push off from there.
The complexities of the individualist's mind cannot be defined through hatred's vice.
|
|
| Author |
RE: What should i do next?? |
cubix
Member
Posts: 38
Location: Close enough
Joined: 19.11.09 Rank: Monster |
|
ynori7 wrote:
maug wrote:
I'd think coding a microprocessor would be a job for asm, not c++. As a computer engineer you'll have to learn a lot of asm anyways, so you could get going on that. Coding the gui for an OS or other program could be a good project too.
I coded a program for a simple robot in C. The microprocessor was designed to understand that code of course, I didn't build that component.
What type of microprocessor did you use?
 |
|
| Author |
RE: What should i do next?? |
ynori7
Future Emperor of Earth

Posts: 1481
Location: #valhalla
Joined: 08.10.07 Rank: Diabolical |
|
|
cubix wrote:
What type of microprocessor did you use?
I don't remember anymore; that was about 5 years ago. I mostly worked with the servos and getting all the electronic components working. I just used the parts my team bought, I didn't pay too much attention to the model numbers. For the programming I already had a bit of skeleton code to work with so that piece didn't take too long to get working (just had to make it work properly with our controller).
EDIT: I looked it up. Model# is PIC18F8520 if that means anything to you. It was mounted to a nice board with pwm and relay outputs and analog and digital inputs. Was pretty user friendly.
Edited by ynori7 on 25-11-09 01:22 |
|
| Author |
RE: What should i do next?? |
cubix
Member
Posts: 38
Location: Close enough
Joined: 19.11.09 Rank: Monster |
|
Nice. I used to do a lot of work with Atmel's Tiny26s and Mega128s. A lot of fun there.
 |
|
| Author |
RE: What should i do next?? |
ynori7
Future Emperor of Earth

Posts: 1481
Location: #valhalla
Joined: 08.10.07 Rank: Diabolical |
|
|
cubix wrote:
Nice. I used to do a lot of work with Atmel's Tiny26s and Mega128s. A lot of fun there.
I'm not really familiar with those. That was my first and only experience with hardware and firmware (at least on that level of complexity anyway). It was pretty fun and interesting, but I'm still more comfortable with software.
Also, I posted a model number in the post above in an edit in case you didn't see.
Anyway, back at the OP. The point is that you have plenty of options. If you want to program something useful, just try to think of a program that you or somebody else could make use of.
|
|
| Author |
RE: What should i do next?? |
stdio
Member
Posts: 375
Location: omnipresent
Joined: 06.04.08 Rank: God |
|
cheers for microprocessors. Was basically what my senior design project was.
A PID controller for a ball and beam.
Sensor data acquisition and pwm output from a HC12.
Built my own H-bridge for powering a dc motor
And programmed the algorithm and gui in python that talked using the serial port to the HC-12. Good times.
I'm sorry, I cant hear you over the sound of how awesome I am! |
|