Ask Serge, C++ Edition!

View previous topic View next topic Go down

Ask Serge, C++ Edition!

Post  IAmSerge on Tue Sep 20, 2011 5:12 pm

Hello

Serge here!

Ask me a question, related to C++ most espcially, and I will attempt to give my best answer for you!

I will keep watching this entire thread, so just go ahead and post a message even if its X pages long!

I'm here to help, and here to have FUN!<3

Very Happy

-Serge
avatar
IAmSerge

Join date : 2011-09-19
Posts : 25

View user profile

Back to top Go down

Lists in C++

Post  Jawnnypoo on Tue Feb 07, 2012 7:52 pm

I've got one for you:

Whats the best way to implement a list class in C++? (not by including the standard libraries or anything like that)

The list must have the ability to add, delete, and print the contents. It must be able to hold three strings, which are each one word, no spaces.

Thanks!
Jawnnypoo

_________________
Very Happy
avatar
Jawnnypoo

Location : Denton
Join date : 2011-09-21
Age : 25
Posts : 9

View user profile http://www.jawnnypoo.com

Back to top Go down

Re: Ask Serge, C++ Edition!

Post  IAmSerge on Tue Feb 07, 2012 11:56 pm

Well, that really all depends on what kind of functionality you want.

You want to be able to hold a list of strings, print out it's contents, etc?

Do you want to LIMIT it to 3 strings? Maximum of 3 strings? minimum of 3 strings? exactly only always 3 strings?

What kind of format do you want the output to be in?

String1
String2
String3 ?


List:
------
1: String1
2: String2
3: String3
?

You want to to be able to hold one word strings? You want to limit it to JUST one word strings, and reject 2+ word strings?
avatar
IAmSerge

Join date : 2011-09-19
Posts : 25

View user profile

Back to top Go down

Re: Ask Serge, C++ Edition!

Post  Cdore on Tue Feb 21, 2012 8:12 pm

I have a question. WHY THAT AVATAR?
avatar
Cdore

Join date : 2011-10-20
Posts : 7

View user profile

Back to top Go down

Re: Ask Serge, C++ Edition!

Post  Mechalon on Tue Feb 21, 2012 8:40 pm

Cdore wrote:I have a question. WHY THAT AVATAR?
Because Pinkie Pie is awesome.
avatar
Mechalon

Location : Wylie/Denton
Join date : 2011-11-12
Age : 28
Posts : 10

View user profile

Back to top Go down

Re: Ask Serge, C++ Edition!

Post  IAmSerge on Sat May 12, 2012 6:40 pm

Cdore wrote:I have a question. WHY THAT AVATAR?

You mad, bro?
avatar
IAmSerge

Join date : 2011-09-19
Posts : 25

View user profile

Back to top Go down

Re: Ask Serge, C++ Edition!

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum