943,671 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 548
  • C++ RSS
Aug 28th, 2008
0

Data Structures

Expand Post »
Hi there,

I just started a course on school for data structures using c++. I program in C# and I have no issues with it hoeever a lot of statement in c++ are new to me. I understand the professor completely when he explains but I am lacking syntax etc. what editor/compiler do I need to do my assignments in c++? can the visual c++ be used? any suggestion to pick up the basic syntax and statemnt in c++. is there such an analogy between data structures in c++ and c# so I can corelate? Please please help me.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nesfrank is offline Offline
2 posts
since Aug 2008
Aug 28th, 2008
0

Re: Data Structures

Assuming you're programming c# in Visual Studio, I'd suggest Visual C++ would be the easiest C++ for you to obtain and use, as you're already familiar with the IDE.

There are numerous C++ tutorials and references on the 'net, and one of the sticky threads at the top of this forum has many good recommendations for books.

A data structures course, as I'm familiar with, covers such topics as lists, stacks, queues, hash tables, trees (of many sorts). Some of these may be builtin types in C#; in C++ you often code them from the ground up in the DS course. The STL provides some of these for C++, and you may find them better choices later in your schoolwork and career.

As in most things related to programming, the concepts are nearly universal across languages, varying in the code, syntax, and level of builtin support.
Reputation Points: 1268
Solved Threads: 228
Posting Virtuoso
vmanes is offline Offline
1,895 posts
since Aug 2007
Aug 29th, 2008
0

Re: Data Structures

You are correct V, data structures covers all those things. I am currently in a DS class myself and use MS Visual Studio 2005, although now many schools probably use 2008 by now.

I'm not sure how your instructor will want you to do things, but mine does not allow use of the STL and as V says, must be coded from the ground up. Take a good look at classes. Classes are really just an expanded capability over the struct, but you'll probably need to be pretty familiar with them for your course.
Reputation Points: 10
Solved Threads: 2
Posting Whiz in Training
henpecked1 is offline Offline
244 posts
since Dec 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Deleting from Array Circular Queue
Next Thread in C++ Forum Timeline: Simple Excel Example





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC