TIGSource Forums

Developer => Technical => Topic started by: S16VATR on October 30, 2013, 10:17:52 PM



Title: c++ super thraed
Post by: S16VATR on October 30, 2013, 10:17:52 PM
dis thread for people who use real programing langauges, c and c++

i can answer ur c++ questions thx


Title: Re: c++ super thraed
Post by: Belimoth on October 30, 2013, 10:35:13 PM
How do I do mixins in c+++.


Title: Re: c++ super thraed
Post by: Kekskiller on October 31, 2013, 12:55:49 AM
y dum no keyword


Title: Re: c++ super thraed
Post by: Klaim on October 31, 2013, 04:52:51 AM
My game takes 72 hours to compile and it's not even finished. Can you help?


Title: Re: c++ super thraed
Post by: powly on October 31, 2013, 06:19:02 AM
i cannot find any documentation for this std::superthread, could you pls elaborate?!


Title: Re: c++ super thraed
Post by: SIGVADER on October 31, 2013, 10:31:22 AM
How do I do mixins in c+++.

NOT ALLOWED thats a c# untermensch trik

y dum no keyword

u can make a dum typedef or function pointer or somethin

My game takes 72 hours to compile and it's not even finished. Can you help?

probs tryin to compile with clang or somethin

i cannot find any documentation for this std::superthread, could you pls elaborate?!

still in teh planning phases projected for c++28


Title: Re: c++ super thraed
Post by: J-Snake on October 31, 2013, 10:41:36 AM
I can do object oriented programming and a lot more things effectively in pure C.


Title: Re: c++ super thraed
Post by: SIGVADER on October 31, 2013, 10:43:43 AM
I can do object oriented programming and a lot more things effectively in pure C. Beat that.

ya c is like c++ for iron men if you can do good code in c you wil die with full military honors and 1000 atendence


Title: Re: c++ super thraed
Post by: soryy708 on October 31, 2013, 10:53:19 AM
Quote
[quote
I can do object oriented programming and a lot more things effectively in pure C. Beat that.
ya c is like c++ for iron men if you can do good code in c you wil die with full military honors and 1000 atendence
[/quote]
Object Oriented Programming doesn't automatically mean good code.

Quote
My game takes 72 hours to compile and it's not even finished. Can you help?
Clean up your header includes.

Quote
i can answer ur c++ questions thx
- Why did it take so long to standardize multithreading?
- Why do lambdas exist?
- How to do component based design effectively in C++?


Title: Re: c++ super thraed
Post by: InfiniteStateMachine on October 31, 2013, 10:58:35 AM
C# doesnt have mixins (except maybe with re-mix)


Title: Re: c++ super thraed
Post by: SIGVADER on October 31, 2013, 11:02:03 AM
- Why did it take so long to standardize multithreading?

basicaly cause c++ town is ful of jerks who want to bein charge of everythin its like extension of other generic softwear dramas. basicaly it all comes down to wats beter: linux or windoz. people could fork to design their own thred model but thers like 1000 ways to do it and they want to be part of official c++ multithread library so the toss off in everyons code to slow it down cause there mad

- Why do lambdas exist?

just for typing convenience which is kind of dum caus dats wat c# diks do. if somethin is too easy to type its not real c++. theres no real good reason for them to exist but c++ gota have them cause everyone else does

- How to do component based design effectively in C++?

seperat files that use static data, using static data lots. what r u makin a credit card company?


Title: Re: c++ super thraed
Post by: soryy708 on October 31, 2013, 11:40:54 AM
Quote
c++ gota have them cause everyone else does
There are so many things that everyone has but C++ doesn't yet (and it would probably take an other five years for them to do), so clearly "gota have them cause everyone else does" is not what Stroustrup and the others toss around during meetings.
Maybe bar olives.

yeah,
Bar olives are nice.


Title: Re: c++ super thraed
Post by: SIGVADER on October 31, 2013, 11:42:34 AM
i just maed all that shit up caus i dont know

in #tigirc there is tacoxtreme he is on c++ standards commitee ask him


Title: Re: c++ super thraed
Post by: soryy708 on October 31, 2013, 11:44:26 AM
Quote
卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐
:durr:

How to optimize virtual methods?


Title: Re: c++ super thraed
Post by: Kekskiller on October 31, 2013, 11:52:58 AM
y dum no keyword

u can make a dum typedef or function pointer or somethin

dis no rael keyword

dum


Title: Re: c++ super thraed
Post by: soryy708 on October 31, 2013, 11:59:28 AM
Code:
struct dum_t
{
int dum; /* :durr: */
};

typedef dum dum_t;

static void f(void){}

static void dumf()
{
    char dumc;
    int dumd;
    float dumf;
    double dumfd;
    dum_t dum;
    void (*dumfp)();
    dumfp = f;
}
:durr: :durr: :durr:


Title: Re: c++ super thraed
Post by: SIGVADER on October 31, 2013, 11:59:42 AM
How to optimize virtual methods?

fuk i dono google it thats how i solv all my problems

if a job interview asks you how to do somethin just say you google it you get hired imediately


Title: Re: c++ super thraed
Post by: soryy708 on October 31, 2013, 12:01:45 PM
Quote
fuk i dono google it thats how i solv all my problems
Well,
Quote
i can answer ur c++ questions thx

Quote
if a job interview asks you how to do somethin just say you google it you get hired imediately
First you need to ensure on-demand access to Dr. Google.


Title: Re: c++ super thraed
Post by: SIGVADER on October 31, 2013, 12:03:11 PM
on a case by case basis do yuo guys have any real questions like how to solve a real problem u have coding not some stupid white man philosophicaly coding problems quit bein a dik


Title: Re: c++ super thraed
Post by: soryy708 on October 31, 2013, 12:07:44 PM
I find that offensive. :outraged:

These are all valid programming questions that are relevant to C++.
Programming is not about hacking code up. Any child could do that. Programming is about robust design and optimization.
:shrug2:

If you're looking for a coding challenge, try http://www.lmgtfy.com/?q=coding+challenge&l=1


Title: Re: c++ super thraed
Post by: SIGVADER on October 31, 2013, 12:08:47 PM
clearly u never had a job in teh industry


Title: Re: c++ super thraed
Post by: soryy708 on October 31, 2013, 12:10:19 PM
Clearly, I'm on an indie gamedev forum. We're a separate industry.