Game Developers of UNT
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Ask Serge, C++ Edition!

4 posters

Go down

Ask Serge, C++ Edition! Empty Ask Serge, C++ Edition!

Post  IAmSerge 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
IAmSerge
IAmSerge

Join date : 2011-09-19
Posts : 25

Back to top Go down

Ask Serge, C++ Edition! Empty Lists in C++

Post  Jawnnypoo 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
Jawnnypoo
Jawnnypoo

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

http://www.jawnnypoo.com

Back to top Go down

Ask Serge, C++ Edition! Empty Re: Ask Serge, C++ Edition!

Post  IAmSerge 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?
IAmSerge
IAmSerge

Join date : 2011-09-19
Posts : 25

Back to top Go down

Ask Serge, C++ Edition! Empty Re: Ask Serge, C++ Edition!

Post  Cdore Tue Feb 21, 2012 8:12 pm

I have a question. WHY THAT AVATAR?
Cdore
Cdore

Join date : 2011-10-20
Posts : 7

Back to top Go down

Ask Serge, C++ Edition! Empty Re: Ask Serge, C++ Edition!

Post  Mechalon Tue Feb 21, 2012 8:40 pm

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

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

Back to top Go down

Ask Serge, C++ Edition! Empty Re: Ask Serge, C++ Edition!

Post  IAmSerge Sat May 12, 2012 6:40 pm

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

You mad, bro?
IAmSerge
IAmSerge

Join date : 2011-09-19
Posts : 25

Back to top Go down

Ask Serge, C++ Edition! Empty Re: Ask Serge, C++ Edition!

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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