Nov 20, 2009

C/c++ Programming Experince - How long does it take before programming useful programs?

free web hosting
Open Discussion > MODERATED AREA > Computers > Programming Languages > C/C++ Programming

C/c++ Programming Experince - How long does it take before programming useful programs?

barnes
I've been teaching my self C++, slowly but surely. Everything I try to program is just mediocre, and much simplier to use something already made. How long does it take before I can start programming useful decent programs?

Comment/Reply (w/o sign-up)

WindAndWater
I think it depends on what kinds of projects you try to learn how to do. I greatly enjoyed a class where I learned how to write a proxy, malloc, a simple shell, and a few other interesting/useful projects all in C. The book from the class (written by the instructors) can be found at Amazon as well as other places. The book also comes with a list of assignments very similar to the ones that I did.
However, in another class I wrote things like a basic search engine, but still found most of the concepts pretty simple and boring. So if you're not interested in systems programming (the understructure of how computers work) you might not find the book as useful as I do.

Comment/Reply (w/o sign-up)

kl223
Hi!

I believe WindAndWater is basically true. I learned C++, Java and Python just by writing interesting software. I mean, I didn't even know, how to write a program in C++ but I tried to write a server application.
And I succeed. smile.gif And my second such server was great. smile.gif
It's not worth learning from books, I suppose. They're just for help (for reference).

The same went on with Python. I wanted to write an IRC bot because I was interested in it. I did not write any Python programs before, but during the developing of this program, I learned it.

There are some useful links to use when programming:
http://www.google.com/ wink.gif
http://www.koders.com/ => this one is the most useful, I believe. It's a search engine, but it searches in the source code of opensource projects.
http://www.cplusplus.com/ref/ => C++ reference
http://www.sgi.com/tech/stl/ => STL reference

http://code.dreamincode.net/snippet74.htm => essential, I believe. smile.gif Describes how to use private data members of an object from "outside".

etc. You can use google to search for what you want. smile.gif

kl223

 

 

 


Comment/Reply (w/o sign-up)

fffanatics
I have learned C++, Java, Lisp, PHP, Assembly all through courses in high school and now college. I lot of them is just learning the basics by doing stupid problems in books and then struggling through harder more realistic problems. One of my projects for a class was to write the game Hex. Take it we didnt have to do a GUI for it, but in the end you have all the background you need to add a simple GUI just by changing the pring and input functions. Basically, once you feel like you know the basics (linked lists, trees, search algorithms, classes, data abstraction, and a few others i cant just name off the top of my head) then you should try to make something that interests you. Write a basic text game with some ai. Then teach yourself some GUI and add that to it.

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : c, c, programming, experince, long, programming, programs

  1. I Want To Learn Programming
    (7)
  2. Finding The Rgb Color Of An Image
    Using any programming language (6)
    hello friends i am doing a project , in that i am inneed to fine the mean RGB value of a particular
    image , is there any program in any language which can do this ? the input to the program will be
    any image ( can be linked in the program) and the putput must be the mean RGB value of that
    particular image , is this Possible ? If so please post the Coding , no matter in what ever language
    it may be written.Thanks in Advance....
  3. Mouse Input In C Programs
    using checkbox etc (5)
    how can we use mouse input in C programs...i think that works only in graphics mode... i tried a few
    functions that are available but they are not working...either i dont know how to use them properly
    or they dont work under my compiler...i use borlandv3. do i have to download some file from internet
    which will make it work or i need to use a different compiler..... and also i wish to know what all
    things i can do with it once it starts working,i mean checkbox or optionbox or making mouse focus
    specific areas................. I know these things can be done better with o....
  4. C++ Programmers
    So Post your C++ programs here (1)
    Hi any C++ programmer want to share C++ programs,then post the code here.But it would be good if the
    programs are not too long.So only short programs. But post that code in bbcodes-don't forget
    that. Anyone who doesn't understand any programs that are posted can take any help here in
    this thread. Heres one : This is a program using class: CODE #include class sum { private:
    int a,b,c; public: sum() { a=5,b=6; } sum(int x,int y) { a=x,b=y; } void get() { cin>>a>>b; } void
    calc() { c=a+b; cout } }; void main() { sum s1,s2(2,3),s3; s1.calc(); s2.calc(); s....
  5. Why Must We Learn Object Oriented Programming
    help me to understand the benefit of OOP (8)
    As a software laboratory assistant, I teach the class of Object Oriented Programming. Everything
    went well until one day a student of mine ask me a simple problem like this Q/A: him : Why must we
    use Object oriented Programming? I thought the usual one could do almost everything. me : Well, in
    Object Oriented Programming we could make a class, so basically eveything could be made to an
    'object' in our mind. him : That's why I'm asking, why must we made everything an
    object? What's the difference? me : In Object Oriented Programming, Encapsulation ....
  6. Alright, I'm Taking Computer Programming As A Class In School.
    (10)
    Is there anything I should personally be worried about or anything I really need to know? I'm
    pretty much good with computers and such and pretty much spend my whole life on them, lol.....
  7. Discussion On Dynamic Programming
    (3)
    Dynamic Programming is one of the powerful programming approach now a day. DP applicable when sub
    problems share sub sub problems. (No independent sub problems). Solve each sub problem once, save
    the answer, and when needed use the previously computed result. Like for Fibonacci series. To get
    f(n+1) we need addition of f(n), f(n-1) and for f(n) we need f(n-1), f(n-2). so to get f(n+1) we
    need f(n) and f(n-1) and again for f(n) we need f(n-1) and f(n-2). In this approach we are
    calculating same thing more then once . That is a very bad idea. But what if we store the data....
  8. Simple C++ Programs.
    simple programs for beginners. (17)
    if you want to start c++ programing read and train this simple programs. CODE 1."using ?
    command." #include #include int main(){ clrscr(); float a,b,c,d; cin >>a>>b>>c>>d;
    a=(a>c+d)?(a*c) : (b*d); cout getch(); return 0; } 2."using of while loop command." #include
    #include int main(){ clrscr(); float a,b,c,d; cin >>a>>b>>c>>d; a=(a>c+d)?(a*c) : (b*d); cout
    getch(); return 0; } 3."using of for loop" #include #include int main(){ clrscr(); float
    a,b,c,d; cin >>a>>b>>c>>d; a=(a>c+d)?(a*c) : (b*d); cout getch(); return 0; } 4."conwerting a....
  9. Programs
    for games (4)
    first off i would like to announce this is my first time on here, i would like to know what kind of
    programs i need to edit my Pc games. i have been learning how to edit with just texts but i would
    like to know what i need for the text scripts i can't read? any information can help
    --thanks....
  10. C Programming Video Tutorials
    This is for all the memebers out there looking or need some mroe help (3)
    Hello per this is for the memeber that want to start programming in " C "... C is a
    very powerful Programming Lang In fact mayb to powerful.. Well there is 138 Videos in the
    TUT.. I Have uploaded the it so per .rar is per chapter /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> P@ssword for ALL .rar files
    is : sid3arm chapter #1 = Introduction to C ** Download link ** chapter #2 = A
    basic C program ** Download link ** chapter #3 = Basic Elements of a C Program **
    Download link ....
  11. C Or C++ Easy Programming Generator
    You need a program? (6)
    Hi i just had a stupid question on how to program is C or C++. I would like to know if there is any
    program like Photoshop to create C codes or how to put them together. If someone could show me it
    would be great. I appreciate it as i love computers and want to be like a wiz at it and also
    everything related to it. I know that this is crazy and i have heard that from people they tell me
    you're a GFX person stay there but i want to explore. Thanks if helped.....
  12. Buffer Overflow In Action Tutorial
    Learn how to buffer overflow programs to change the program flow... (0)
    This tutorial will show you how to buffer overflow programs in order to change the flow of the
    application , even if this means executing your own code. A very well explained tutorial of buffer
    overflows ( not theory but practise ) + a 20 min video tutorial/demonstration + all the files needed
    for the tutorial.. Buffer Overflow In Action Tutorial LINK ....
  13. How Many of You Use the C Programming language?
    (23)
    Just wanted to know how many of you are currently using C language for programming. If you can tell
    what sort of programs you do, it would be useful. ....
  14. C Programming: Arrays
    A Clear Description of Arrays (4)
    C programming provides a capability that enables a user to design a set of similar data types,
    called Arrays. For understanding the arrays properly, let us consider the following program CODE
    main() { int x; j=5 j=10; printf("\nj= %d",x); } No doubt, this program will print the value
    of j as 10. This is because when a value 10 is assigned to j, the earlier value of j, i.e. 5, is
    lost. Thus, ordinary variables are capable of holding only one value at a time. However, there are
    situations in which we would want to store more than one value at a time in a single ....
  15. Beginners Guide To C/c++ Programming?
    (3)
    ok so I was wondering if anyone knows where I can find a good, c/c++ dummy friendly guide? my main
    reason for want to learn it so that I can make .cab files that do registry edits for ppc. I know
    this should be easy to do, Any help would be greatly appreciated. Thx in advanced, Mike....
  16. Can't Compile Assembly Programs.
    (2)
    Hi, I'm trying to learn assembly but I can't compile any "hello world" programs... And I
    don'n know what I'm doing wrong... I downloaded NASM ,NASMW and TASM32. The program is like
    this: EXAMP1.ASM: ;title Hello World Program ; This program displays "Hello, World!"
    dosseg .model small .stack 100h .data hello_message db 'Hello, World!',0dh,0ah,'$'
    .code main proc mov ax,@data mov ds,ax mov ah,9 mov dx,offset
    hello_message int 21h mov ax,4C00h int 21h main endp....
  17. Detailed C Beginner Tut
    basis for learning any application programming language (2)
    QUOTE The best way to learn programming is to dive right in and start writing real programs.
    This way, concepts which would otherwise seem abstract make sense, and the positive feedback you get
    from getting even a small program to work gives you a great incentive to improve it or write the
    next one. Diving in with ``real'' programs right away has another advantage, if only
    pragmatic: if you're using a conventional compiler, you can't run a fragment of a program
    and see what it does; nothing will run until you have a complete (if tiny or trivial) prog....
  18. Dos Programming, Undocumented Dos, And Dos Secrets
    (3)
    This web site is devoted to DOS programming for those of us who still enjoy programming in DOS some
    of its containt are Disk/Files - Programming the disk and/or file info. DOS - DOS programs, DOS
    prompt, DOS compilers, etc. Encryption/Compression - Encryption and Compression. Games - Programming
    Games. Hardware/System programming - Memory, BIOS, CMOS, and other Hardware/System items.
    Input/Output Devices - Mice, Joystick, Keyboard, Modem, Printer, etc.. Misc - Item that don't
    fit in any/all the other subjects. Sound - Sound programming Video/Graphics - Graphics progr....
  19. Dos Game Programming In C For Beginners
    (1)
    There are a number of tutorials available for the intermediate game programmer, but there are very
    few good tutorials for beginners who have never drawn a pixel on the screen. A quick search on the
    net reveals hundreds of sites devoted to 3D, polygons, texture- mapping and other advance topics,
    but the beginner has no where to get started. This tutorial is for C programmers who want to get an
    introduction to game programming. find this tutorial at Dos Game Programming in C for Beginners
    ....
  20. 256-color Vga Programming In C Site
    (0)
    what some say is the best VGA programming site on the web VGA Basics Setting the video mode,
    plotting a pixel, and mode 0x13 memory. Primitive Shapes & Lines Drawing lines, polygons,
    rectangles, and circles. Also, Bresenham's algorithm, fixed-point math and pre-computing tables.
    Bitmaps & Palette Manipulation The BMP file format, drawing bitmaps, and palette manipulation. Mouse
    Support & Animation Animation, mouse motion, and mouse button detection. Double Buffering, Page
    Flipping, & Unchained Mode Double buffering, page flipping, structure of unchained mode,....
  21. Win32: Dialog Box And Accelerator
    Win32 API programming (3)
    ok my problem is how do i make or assign a keyboard accelerator with modal dialog boxes since the
    message loop is inside the function call of DailogBox() functions, unlike the modeless dialog box in
    which you are the one who will create the message loop for the dialog box... is it even possible?....
  22. Programming A Malloc
    (1)
    A little background about what I am doing is this: I have an array which holds a linked list
    containing the memory that is currently taken from the system. Each index I have like 16 size
    memory or less can be stored only in index 0, index 1 is for memory inbetween 16-32, index 2 is for
    memory inbetween 32-64, etc all the way up to 2048 which is the max allocatable memory. Now the way
    my malloc is to work is that it first will run through my list to see if any memory is available
    that is greater than or equal to the size I need, if there is any at all it will return it....
  23. Where To Start Learning C++ Programming Language
    Resources for C++ (4)
    I'm planning on learning c++ but I'm having some problems. First, I need a compiler.
    I've downloaded Digital Mars (www.digitalmars.com) but how the heck do I compile something????
    There's this other free compiler that loooks great but seems hard to install. Does anyone know a
    good freeware compiler??? Also does anyone know what some good tutorial resources are? I've
    found a few sites, but does anyone know a really good one? Or maybe a good book? But my main
    problem is with the compiler. Can't get anything done without one.......
  24. Vesa Programming Viewer In D O S
    Graphics in C/C++ (3)
    Hello friends, I wanna make an image viewer in DOS...can any one help me how to deal with high
    resolution screens in DOS uning mouse using VESA interrupts. Please help.. thanks acumentech....
  25. Life In Programming?
    wheres this headed? (12)
    Hey guys im 16 and really like programming (although im fairly new at it) ive already taken a year
    of basic html and what not. This year im taking a class in c++ and VB next year i hope to take java
    and php. However next year will be my senior year and i will have to start applying for colleges
    and im trying to convince my parents that there ARE jobs in computers its hard for them to do this
    they like to stay locked up in there own little world **cough cough** stone age **cough** so what i
    was wondering is what jobs are actually out there for this kinda stuff what are ....
  26. Good Books On C++ Game Programming
    I need some books! (5)
    I am looking for some good books on game programming in c++ if any body out there has any
    suggestions feel free to post them. Oh by the way should i start out with an easier language like
    BASIC or should I just work on c++. Ineed some help people please reply fast. Tahnx
    David H /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> ....
  27. D Programming Language
    (9)
    hi friends, surprised... was that a type???? It is not a type... I know this is a C/C++
    programming language forum.. Just wanted to share something I came across today... A new
    programming language based on C and C++ is being developed.. It would have all the power of C/C++,
    in other words as the spec says "retains the ability to write high performance code and interface
    directly with the operating system API's and with hardware." The specification of the language
    and alpha phase compilers are available at www.digitalmars.com I just browsed throught the spec a....
  28. A Question About C++ Programming Under Linux
    (8)
    Hello guys! i prepare to develop under linux using c++, but i don't know what tools i should
    use...some one tell me to use vim, but i think vim is so hard to use!can u recommend me some ide???
    thank u very much....
  29. Simple C++ Programs
    programming C++ (16)
    what simple programs would a beginner should code in order to get some understanding the c++ along
    with leaning as well....
  30. C Programming Help
    (4)
    Hey, does anyone know of any good direct sites that would help me in some scripting of c programming
    or maybe even a tutrorial that would help with some advanced scripting. Thanks.....

    1. Looking for c, c, programming, experince, long, programming, programs
Similar
I Want To Learn Programming
Finding The Rgb Color Of An Image - Using any programming language
Mouse Input In C Programs - using checkbox etc
C++ Programmers - So Post your C++ programs here
Why Must We Learn Object Oriented Programming - help me to understand the benefit of OOP
Alright, I'm Taking Computer Programming As A Class In School.
Discussion On Dynamic Programming
Simple C++ Programs. - simple programs for beginners.
Programs - for games
C Programming Video Tutorials - This is for all the memebers out there looking or need some mroe help
C Or C++ Easy Programming Generator - You need a program?
Buffer Overflow In Action Tutorial - Learn how to buffer overflow programs to change the program flow...
How Many of You Use the C Programming language?
C Programming: Arrays - A Clear Description of Arrays
Beginners Guide To C/c++ Programming?
Can't Compile Assembly Programs.
Detailed C Beginner Tut - basis for learning any application programming language
Dos Programming, Undocumented Dos, And Dos Secrets
Dos Game Programming In C For Beginners
256-color Vga Programming In C Site
Win32: Dialog Box And Accelerator - Win32 API programming
Programming A Malloc
Where To Start Learning C++ Programming Language - Resources for C++
Vesa Programming Viewer In D O S - Graphics in C/C++
Life In Programming? - wheres this headed?
Good Books On C++ Game Programming - I need some books!
D Programming Language
A Question About C++ Programming Under Linux
Simple C++ Programs - programming C++
C Programming Help

Searching Video's for c, c, programming, experince, long, programming, programs
See Also,
advertisement


C/c++ Programming Experince - How long does it take before programming useful programs?

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com