473,657 Members | 2,411 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C++ Exercises

Hello,
I am a student in an university and studying C++.Final exams are
coming.I'd like to solve as much exercises as possible.I'd like you to
test myself with different kind of exercises.Do you know any website
where there are exercises with solutions so I can try to solve them
and can look at the solutions when I'm stucked.I'd like to get
exercises about;
Strings
Arrays
Pointers
Dynamic Memory Allocation
Classes
Inheritance
Exception Handling

Or if you have some can you please send them to
wo*****@yahoo.c om

Thank you in advance
Jul 22 '05 #1
8 5430
On 7 May 2004 12:08:22 -0700, wo*****@yahoo.c om (Wous Mant) wrote:
Hello,
I am a student in an university and studying C++.Final exams are
coming.I'd like to solve as much exercises as possible.I'd like you to
test myself with different kind of exercises.Do you know any website
where there are exercises with solutions so I can try to solve them
and can look at the solutions when I'm stucked.I'd like to get
exercises about;
Strings
Arrays
Pointers
Dynamic Memory Allocation
Classes
Inheritance
Exception Handling

Or if you have some can you please send them to
wo*****@yahoo. com

Thank you in advance


Try these:

http://www.christs.cam.ac.uk/bio/problems.html

http://www.nist.gov/dads/

http://acm.uva.es/problemset/

All from the FAQ:
http://www.parashift.com/c++-faq-lit....html#faq-29.2
rossum
--

The Ultimate Truth is that there is no Ultimate Truth
Jul 22 '05 #2
Probably you missunderstood me.I am looking for questions like we get
in the exam.So by solving them,I can be prepared.Every help and link
is appriciated.
Thank you
Jul 22 '05 #3
* wo*****@yahoo.c om (Wous Mant) schriebt:
Probably you missunderstood me.I am looking for questions like we get
in the exam.So by solving them,I can be prepared.Every help and link
is appriciated.


1) The FAQ is a good place to start.
2) Your lecturer should ideally be a good person to ask.
3) Google and other search engines are your friends.

Presumably you have text-book, which one is that?

If it is a good one, try to do the exercises in the book.

Hth.

- Alf

--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Jul 22 '05 #4
Wous Mant writes:
Probably you missunderstood me.I am looking for questions like we get
in the exam.So by solving them,I can be prepared.Every help and link
is appriciated.


Usenet is a lossy medium, that is, we don't all get all the messages. When
you respond without attribution, as you did here, it makes it very hard to
help. As I see this complete thread you asked a question and got what looks
to me like one reasonable answer and another answer which presumes you are
too <something> to look at your text book. You must post a *complete*
thought to get non-insulting help. You may get insulted anyway, that's the
nature of the beast.
Jul 22 '05 #5
Wous Mant wrote:

Probably you missunderstood me.I am looking for questions like we get
in the exam.So by solving them,I can be prepared.Every help and link
is appriciated.
Thank you


rossum has posted a number of links.
Among them is
http://acm.uva.es/problemset/

I just took a look at it. If you can solve them
you don't have to worry about your exam.

--
Karl Heinz Buchegger
kb******@gascad .at
Jul 22 '05 #6

Take a look at the Bjarne Stroustrup's C++ book, I think
there's actually a C++ Answer book which has solutions
to the exercises.
"Wous Mant" <wo*****@yahoo. com> wrote in message
news:3f******** *************** ***@posting.goo gle.com...
Hello,
I am a student in an university and studying C++.Final exams are
coming.I'd like to solve as much exercises as possible.I'd like you to
test myself with different kind of exercises.Do you know any website
where there are exercises with solutions so I can try to solve them
and can look at the solutions when I'm stucked.I'd like to get
exercises about;
Strings
Arrays
Pointers
Dynamic Memory Allocation
Classes
Inheritance
Exception Handling

Or if you have some can you please send them to
wo*****@yahoo.c om

Thank you in advance

Jul 22 '05 #7
Pmb

"Dave Townsend" <da********@com cast.net> wrote in message
news:mu******** ************@co mcast.com...

Take a look at the Bjarne Stroustrup's C++ book, I think
there's actually a C++ Answer book which has solutions
to the exercises.
"Wous Mant" <wo*****@yahoo. com> wrote in message
news:3f******** *************** ***@posting.goo gle.com...
Hello,
I am a student in an university and studying C++.Final exams are
coming.I'd like to solve as much exercises as possible.I'd like you to
test myself with different kind of exercises.Do you know any website
where there are exercises with solutions so I can try to solve them
and can look at the solutions when I'm stucked.I'd like to get
exercises about;
Strings
Arrays
Pointers
Dynamic Memory Allocation
Classes
Inheritance
Exception Handling

Or if you have some can you please send them to
wo*****@yahoo.c om

Thank you in advance


I have Deitel's text "C++; How to Program" and I find it to be an excellent
text. I got the package deal where it comes with some software, but that may
be the only way it comes (someone gave it to me). It has answers to review
exercises and it has the source code to some of the programming exercises.

Pmb
Jul 22 '05 #8
Pmb

"Pmb" <so*****@somewh ere.com> wrote in message
news:Ip******** ************@co mcast.com...

"Dave Townsend" <da********@com cast.net> wrote in message
news:mu******** ************@co mcast.com...

Take a look at the Bjarne Stroustrup's C++ book, I think
there's actually a C++ Answer book which has solutions
to the exercises.
"Wous Mant" <wo*****@yahoo. com> wrote in message
news:3f******** *************** ***@posting.goo gle.com...
Hello,
I am a student in an university and studying C++.Final exams are
coming.I'd like to solve as much exercises as possible.I'd like you to
test myself with different kind of exercises.Do you know any website
where there are exercises with solutions so I can try to solve them
and can look at the solutions when I'm stucked.I'd like to get
exercises about;
Strings
Arrays
Pointers
Dynamic Memory Allocation
Classes
Inheritance
Exception Handling

Or if you have some can you please send them to
wo*****@yahoo.c om

Thank you in advance

I have Deitel's text "C++; How to Program" and I find it to be an

excellent text. I got the package deal where it comes with some software, but that may be the only way it comes (someone gave it to me). It has answers to review
exercises and it has the source code to some of the programming exercises.

Pmb


See also --
http://nova.umuc.edu/~jarc/sdsd/
http://www.cs.rit.edu/~icss263/exercises.html

Pmb
Jul 22 '05 #9

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

Similar topics

4
10389
by: Gordon | last post by:
Hi, I was wondering if someone could point me in the direction of some online exercises to help me learn to program (in Python). I'm currently working through Magnus Hetland's Practical Python, which doesn't have any exercises/problem sets (for the beginning chapters on things like string manipulation etc). I'd rather not get another book. Cheers,
3
3381
by: Frankie Montenegro | last post by:
Hi everyone, I must say that, even though I think that Accelerated C++ by Koenig and Moo is an awesome text, the wording of exercises is very poor. I spend half the time just trying to figure out what is it they want me to do. Anyway, I somehow managed untill chapter 5 but now I am hopelessly stuck. But I am completely lost with the wording of the following three exercises: 5-2.
1
2312
by: Zachary Turner | last post by:
I am just learning the syntax of C#, and I want some "exercise" type ideas to allow me to test various features of the language. I don't really want to resort to a "Teach Yourself C#" type of book because the exercises tend to be overly trivial, but if someone knows of somewhere that I can get some general ideas for programming exercises then i'd appreciate it.
0
1400
by: Ben Edwards (lists) | last post by:
Have been working through Dive Into Python which is excellent. My only problem is that there are not exercises. I find exercises are a great way of helping stuff sink in and verifying my learning. Has anyone done such a thing? Ben
0
3169
by: tjsailor | last post by:
I'm recently reading this book, and I really think exercises in this book is rather good, but from nowhere can I get the solutions to the exercises, can anybody share his or her if he or she got one? Thanks a million, my email address is meinanxiang@yahoo.com.cn
8
6660
by: jopy887 | last post by:
Hey people, Does someone know a good site for C exercises? For beginners.. Jonathan
5
1892
by: Martin | last post by:
I am trying to improve my Python skills through some exercises. Currently I am working on Larry's "15 exercises to know a programming language " (http://www.knowing.net/ PermaLink,guid,f3b9ba36-848e-43f8-9caa-232ec216192d.aspx). The first exercise is this: "Write a program that takes as its first argument one of the words 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a series of numbers. The program applies the...
2
2929
by: TSB | last post by:
Currently I am reading Sam's Teach Yourself PHP in 24 Hours. The book is very good, but it is extremely slim on exercises. I'm one of those types of people who learn by doing, not by reading or listening. I have been searching around for exercises to do, but I'm not finding any and what I do find does not correspond with what I've learned so far. I've even gone to samspublishing.com and they didn't have anything. I would greatly...
1
1653
by: TheTamdino | last post by:
I am currently reading Beginning PHP and MySQL 5: From Novice to Professional, Second Edition by W. Jason Gilmore. This is an excellent book, but it has no exercises in it. I'm the kind of person that has to learn by doing. I've searched all over for either a book or website that would provide exercises to practice with and I haven't come up with anything. Does anyone know of a website or a book that covers this? Any help would be...
0
8399
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8827
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8504
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8606
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4159
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2732
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1622
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.