Jump to content

l realy love programming but i dont know how to study for it

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
10 replies to this topic

#1
kia

kia

    Newbie

  • Members
  • PipPip
  • 24 posts
hi everyonr, im computer science student im in my first year in the major. i realy love my major but i dont how to study for it i feel it is not difficult but when start or tring to solve some exercice i dont know from where to start what to do even after studying the cours well,when starting to solve i have the ideas and undrestand the Question but suddenly the idea start mixtting in my mind, and the my problem is when tring to trasse the program here start the night mare.. plz any advic so far thnx alot .
one thing is sure i do love my major

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
It sounds like you're having an issue with the problem-solving aspect of programming. The best thing you can do is solve LOTS of problems. You can also find problem sites like Sphere Online Judge (SPOJ) - Problems to get additional problems to work on, and see how others solved them.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
kia

kia

    Newbie

  • Members
  • PipPip
  • 24 posts
thnx alot Mr WingedPsnther i realy apprciate being intresting to help me thnx alot.i visited the site u gave me it is realy useful thnx again.

#4
G_Morgan

G_Morgan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 537 posts

kia said:

hi everyonr, im computer science student im in my first year in the major. i realy love my major but i dont how to study for it i feel it is not difficult but when start or tring to solve some exercice i dont know from where to start what to do even after studying the cours well,when starting to solve i have the ideas and undrestand the Question but suddenly the idea start mixtting in my mind, and the my problem is when tring to trasse the program here start the night mare.. plz any advic so far thnx alot .
one thing is sure i do love my major

It helps if we know what level you are struggling at. Are you struggling with language semantics, tool usage, data structures and algorithms or larger system design. They are all different problems with different solutions.

The first two are unfortunately a case of banging your head against a table until you know it. If you are struggling to use your tools then you'll find yourself fighting that rather than solving problems. Language semantics are another thing, personally I'd keep a cheat sheet of the basic constructs besides you until you feel you know them. Do lots of exercises.

The third part, data structures and algorithms, are theoretical and will be taught to you on your course.

The last bit is a case of a mixture of imagination and process. How much of each depends on the application. I suspect you aren't here yet.

#5
kia

kia

    Newbie

  • Members
  • PipPip
  • 24 posts
thnx for being helpfull MR G Morgan actually im in my first year at the unversity and we start with C++, i realy wanna be a good programmer i mean good enougth in everything about computer!
again thnx for ur help!

#6
G_Morgan

G_Morgan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 537 posts
Well I'd start programming by reading and writing programs. C++ is a language where plenty of people know it so you're fortunate on that count.

I'd take something I was interested in and try writing programs for it. Things that are quite common are text editors, space invaders, etc.

//edit - once you've chosen a language and a project you may want to ask back here for which software libraries to use. For example I'd use SDL (a games library with support for 2D graphics, input devices, sound and that can embed an OpenGL context) for space invaders and GTK+ (a windowing toolkit) for a text editor.//

#7
kia

kia

    Newbie

  • Members
  • PipPip
  • 24 posts
first of all i realy wanna thnx u 4everything, but to be honest i didnt understand anything from ur message :(
what do u mean by :"so you're fortunate on that count:".
as i mentioned im newbie in c++ so all ur talk about is realy new for me " space invaders, SDL (a games library with support for 2D graphics, GTK+" this my first time to hear this.

#8
G_Morgan

G_Morgan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 537 posts
You are fortunate because a lot of people know C++, a lot of other languages will be more difficult to find help for because fewer people know them.

SDL and Gtk+ are libraries. Pre built sections of code you can use in developing your software. For example Gtk+ provides you with things like windows, buttons, text fields, menus, tool bars, etc. SDL is a games library that allows you to draw to the screen, handle things like keyboard presses or mouse movement and it also allows you to output sound. I was giving examples of commonly used libraries, nearly every piece of software will use a library of some sort.

#9
kia

kia

    Newbie

  • Members
  • PipPip
  • 24 posts
hi seriously i start being crazy how many libraries are in C++, what is libraries?
is :
#include<iostream>
#include<string>
#include<iomanip>
#include<cmath>
.
.
.
.what u mean by libraries
im sorry u ll end by hating me Mr G morgan cause im dont know anything :(

#10
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
kia: iostream, string, etc are libraries.

A library is a set of pre-built functionality that makes it easier to get things done. For instance, C++ doesn't have a mechanism in the language definition for handling input/output. It does have a library (iostream) that ALL C++ compilers come with to provide that piece of essential functionality.

In addition to the libraries that come with C++, there are others (Boost, wxWidgets, etc) that further extend the capabilities of C++, making your life easier.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#11
kia

kia

    Newbie

  • Members
  • PipPip
  • 24 posts
thnx i apreciat ur help :).