473,320 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Exercise

Hi programmers! I am pretty new to programming in c++. Can someone tell
where i can find
some exercise on net! I have good books but I dont have practise what
is the most important!
And can you tell what is the best way to learn a good programming?

Please tell me!
Thank you!

Nov 16 '06 #1
7 1476
drago.osre...@vk.t-com.hr wrote:
I am pretty new to programming in c++. Can someone tell
where i can find
some exercise on net!
Google is your friend.
I have good books but I dont have practise what
is the most important!
And can you tell what is the best way to learn a good programming?
The FAQ can:

http://www.parashift.com/c++-faq-lit...learn-cpp.html

Cheers! --M

Nov 16 '06 #2

Thanks, but I read it before! I need something I can exercise on!! PDFs
or something!

On Nov 16, 10:01 pm, "mlimber" <mlim...@gmail.comwrote:
drago.osre...@vk.t-com.hr wrote:
I am pretty new to programming in c++. Can someone tell
where i can find
some exercise on net!Google is your friend.
I have good books but I dont have practise what
is the most important!
And can you tell what is the best way to learn a good programming?The FAQ can:

http://www.parashift.com/c++-faq-lit...learn-cpp.html

Cheers! --M
Nov 16 '06 #3
dr***********@vk.t-com.hr wrote:
>
Thanks, but I read it before! I need something I can exercise on!!
PDFs or something!
Please don't top-post. Your replies belong following or interspersed
with properly trimmed quotes. See the majority of other posts in the
newsgroup, or the group FAQ list:
<http://www.parashift.com/c++-faq-lite/how-to-post.html>
The best way to hone your skills is to find a project, design and code
it. There are a million potentials projects, make it something that
interests you.

Brian
Nov 16 '06 #4
<dr***********@vk.t-com.hrwrote in message
news:11*********************@e3g2000cwe.googlegrou ps.com...
Hi programmers! I am pretty new to programming in c++. Can someone tell
where i can find
some exercise on net! I have good books but I dont have practise what
is the most important!
And can you tell what is the best way to learn a good programming?

Please tell me!
Thank you!
Well, when I first started coding, I reinvented the wheel quite a bit. For
example, MS-DOS had a find program that would find a file on the disk and I
wondered how they did it. So I did some research on directory calls, and
wrote a program that did what find did. Then I ran mine compared to the one
that came with MS-DOS and they ran in exactly the same speed.

A lot of what I did when I was new to programming was just try to figure out
how to do things. How does random file access work? So I wrote a little
program that allowed me to enter tape names and data and store them to a
file and retrieve them. Never used the program after I finished it, but I
learned a lot. Just about anything you can think of can be an exercise.
Some is OS specific (how much disk space do you have left? How much memory
is currently free?) some is generic (file IO is for the most part generic).

Think of a program you can't write, and write it.
Nov 17 '06 #5
VJ
Jim Langston wrote:
Some is OS specific (how much disk space do you have left? How much memory
is currently free?) some is generic (file IO is for the most part generic).
Are there ways to check free memory space and free disk space?
Nov 17 '06 #6
VJ <v@asd.orgwrote:
Jim Langston wrote:
>Some is OS specific (how much disk space do you have left? How much memory
is currently free?) some is generic (file IO is for the most part generic).

Are there ways to check free memory space and free disk space?
Probably, but not in Standard C++. As Jim Langston said, it will be OS
specific.

--
Marcus Kwok
Replace 'invalid' with 'net' to reply
Nov 17 '06 #7
"VJ" <v@asd.orgwrote in message
news:ej**********@el-srv04-CHE.srvnet.eastlink.de...
Jim Langston wrote:
>Some is OS specific (how much disk space do you have left? How much
memory is currently free?) some is generic (file IO is for the most part
generic).

Are there ways to check free memory space and free disk space?
Yes, but OS specific. Anything you write for one OS won't work on another.
Nov 18 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Charles | last post by:
I am going through the exercises and Bruce Eckel's Thinking in C++ and I ran into an exercise that wasn't included in his solutions that I think I could use some assistance with. Exercise 3-26...
12
by: Merrill & Michele | last post by:
It's very difficult to do an exercise with elementary tools. It took me about fifteen minutes to get exercise 1-7: #include <stdio.h> int main(int orange, char **apple) { int c; c=-5;...
6
by: sathyashrayan | last post by:
Dear group, Following is a exercise from a book called "Oreilly's practical C programming". I just wanted to do a couple of C programming exercise. I do have K and R book, but let me try some...
8
by: Mike S | last post by:
Hi all, I noticed a very slight logic error in the solution to K&R Exercise 1-22 on the the CLC-Wiki, located at http://www.clc-wiki.net/wiki/KR2_Exercise_1-22 The exercise reads as...
16
by: Josh Zenker | last post by:
This is my attempt at exercise 1-10 in K&R2. The code looks sloppy to me. Is there a more elegant way to do this? #include <stdio.h> /* copies input to output, printing */ /* series of...
5
by: ebrimagillen | last post by:
Hello mates, Just needed a solution on the exercises below. Exercise 2 A classic problem in introductory programming is the grains of rice on a chess board problem. Your program should...
5
by: Richard Gromstein | last post by:
Hello, I have an exercise that I need to finish very soon and I really need help understanding what to do and how exactly to do it. I am working on reading the chapter right now and working on it...
26
by: arnuld | last post by:
this is the programme i created, for exercise 2, assignment 3 at http://www.eskimo.com/~scs/cclass/asgn.beg/PS2.html it runs fine. i wanted to know if it needs any improvement: ...
19
by: arnuld | last post by:
this programme runs without any error but it does not do what i want it to do: ------------- PROGRAMME -------------- /* K&R2, section 1.6 Arrays; Exercise 1-13. STATEMENT: Write a program...
5
by: arnuld | last post by:
this is a programme that counts the "lengths" of each word and then prints that many of stars(*) on the output . it is a modified form of K&R2 exercise 1-13. the programme runs without any...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.