Search found 707 matches

by M_D_K
Mon Apr 05, 2010 12:32 am
Forum: General/Off-Topic
Topic: Teach Yourself Programming in 21 Days
Replies: 10
Views: 888

Re: Teach Yourself Programming in 21 Days

I wouldn't replace younger self for 2 reasons: 1, time paradox. 2, you'd have to relive annoying mames and crap

Instead I'd dump my knowledge in past self :)
by M_D_K
Fri Apr 02, 2010 1:00 pm
Forum: Programming Discussion
Topic: C++ Typewriter text effect (xcode)
Replies: 3
Views: 1587

Re: C++ Typewriter text effect (xcode)

I forgot to mention that you're not flushing stdout this can be done using std::endl. BUT that would also create a new line what you want to do is use fflush(stdout) which is in cstdio #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string> #include <time.h> using namespace std;...
by M_D_K
Fri Apr 02, 2010 11:22 am
Forum: Programming Discussion
Topic: C++ Typewriter text effect (xcode)
Replies: 3
Views: 1587

Re: C++ Typewriter text effect (xcode)

that's cause sleep() takes seconds not milliseconds. you'd need to use something like nanosleep
by M_D_K
Fri Apr 02, 2010 11:18 am
Forum: General/Off-Topic
Topic: You dirty, asswrangling cuntbags!!
Replies: 7
Views: 731

Re: You dirty, asswrangling cuntbags!!

I could use ma admin powers to delete that......but I'm not :lol:
by M_D_K
Thu Apr 01, 2010 4:50 pm
Forum: Programming Discussion
Topic: Making classes in Objective-C
Replies: 1
Views: 259

Re: Making classes in Objective-C

yeah you're supposed have printf like this

Code: Select all

printf("%d\n", b);
what you're doing is pointer arithmetic on a constant string (which is empty) so printf is printing some random memory.

EDIT: here is info on printf
by M_D_K
Thu Apr 01, 2010 4:26 pm
Forum: General/Off-Topic
Topic: Surprised?
Replies: 6
Views: 608

Re: Surprised?

k
by M_D_K
Thu Apr 01, 2010 2:04 am
Forum: General/Off-Topic
Topic: NEW JULIEN-K ALBUM!!!!111oneone
Replies: 13
Views: 1414

Re: NEW JULIEN-K ALBUM!!!!111oneone

sweeeeeeeet!
by M_D_K
Tue Mar 30, 2010 3:42 pm
Forum: Programming Discussion
Topic: C: Auto sorting double linked list
Replies: 10
Views: 1106

Re: C: Auto sorting double linked list

no it can't, if Insert is inserting at the front of the list, you'd need to update list with the new root node.

There is a method to this madness.
by M_D_K
Tue Mar 30, 2010 4:36 am
Forum: Programming Discussion
Topic: C: Auto sorting double linked list
Replies: 10
Views: 1106

C: Auto sorting double linked list

This is just a little something for ultimatedragoon6 (to show how overcomplicated his implementation was), but I figured I'd share. //Simple implementation of an auto sorting double linked list //compile with gcc -Wall -o sorted_link sorted_linked.c //Placing this in the public domain since there is...
by M_D_K
Wed Mar 17, 2010 9:52 am
Forum: General/Off-Topic
Topic: IRC lulz
Replies: 316
Views: 91593

Re: IRC lulz

Merged with IRC lulz.
by M_D_K
Sat Mar 13, 2010 2:30 pm
Forum: General/Off-Topic
Topic: For the shingles
Replies: 10
Views: 1000

Re: For the shingles


enjoy :)
by M_D_K
Tue Feb 23, 2010 3:56 pm
Forum: General/Off-Topic
Topic: Blogs: We post ours
Replies: 18
Views: 1804

Re: Blogs: We post ours

here's mine
by M_D_K
Thu Feb 18, 2010 6:54 pm
Forum: Programming Discussion
Topic: Read MD5MESH to model?
Replies: 3
Views: 623

Re: Read MD5MESH to model?

here's the spec also there is also sample code; it's for GL though.
by M_D_K
Thu Feb 18, 2010 6:44 pm
Forum: General/Off-Topic
Topic: Elysian Shadows Revolution 2
Replies: 71
Views: 5542

Re: Elysian Shadows Revolution 2

http://www.skype.com http://www.mebeam.com Those of you down for the online party for this release, download Skype and create an account, then add me: jnorris88 MeBeam is a way for us all to use video. Skype will be for audio. More details in IRC tomorrow night. But... I don't drink :cry: That's fi...