Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

how do i learned c++

Name: Anonymous 2007-06-10 14:39 ID:L42QblnC

Hi doods
This is addressed to those who know C++: how did you learn?
I have just started and am reading/following tutorials at http://www.cprogramming.com/, and memorising some script (so far the obligatory "hello world" coding), but I was wondering how you approach learning a new programming language or how you learned C++ at the very beginning?

Name: Anonymous 2007-06-10 16:17 ID:7ogF6hot

i downloaded ebooks

i think the best start is:
C++ How to Program, 5th edition

and heres a torrent cause im nice:
http://thepiratebay.org/tor/3705855/C___-_How_To_Program__5th_Edition

Name: Anonymous 2007-06-10 16:23 ID:Heaven

1. Read _Accelerated C++_
2. Read _The C++ Programming Language_
3. Read _SICP_
4. ???
5. Profit

Name: Anonymous 2007-06-10 16:24 ID:L42QblnC

>>2
thanks I'll have a look at that, as I have no books on the matter.

Name: Anonymous 2007-06-10 16:25 ID:L42QblnC

>>3
sage in muh thread? =/
I'm not sure what SICP is so I guess I better go look that up.

Name: Anonymous 2007-06-10 16:27 ID:L42QblnC

>>2
downloading the torrent, thanks.

Name: Anonymous 2007-06-10 16:48 ID:rwRNERx0

>>5
Is that even relevant to the topic or is this just your way of saying "I might read SICP"?

Name: Anonymous 2007-06-10 17:08 ID:ii/k1IC/

>>1
1. Drop C++
2. Read K&R
3. Read SICP
4. Drop C
5. Achieve Satori

Name: Anonymous 2007-06-10 17:23 ID:L42QblnC

>>7
lol wut
>>8
hahah not just now, I'm enjoying learning this and I've enjoyed what I've learned to do so far.

Name: Anonymous 2007-06-10 17:37 ID:744G0j5v

I read The c++ programming language by Strousstsutustustusoup.
I now kind of loathe the language (while acknowleding it being good for certain stuff) but well, that's how I learnt it.

Name: Anonymous 2007-06-10 17:43 ID:L42QblnC

>>10
Strousstsutustustusoup? lol
That book's been mentioned twice now so I'll most likely find a torrent for it.

Name: Anonymous 2007-06-10 19:07 ID:mF682KB1

>>10
DON'T BELIEVE AN IDIOT WHO OVERLOADS BITWISE OPERATORS

Name: Anonymous 2007-06-10 21:06 ID:L42QblnC

>>12
lol wut

Name: Anonymous 2007-06-10 21:08 ID:Heaven

>>13

std::cout << "sage" << std::endl;

Name: Anonymous 2007-06-10 21:26 ID:Heaven

>>14
using namespace std;

Name: Anonymous 2007-06-10 21:28 ID:mF682KB1

>>15
using std::cout;
using std::cin;
using std::endl;
using std::string;

FFS

Name: Anonymous 2007-06-10 21:36 ID:L42QblnC

#include <iostream>
using namespace std;
int main()
{
cout<<"lol wut"<<endl;
cin.get();
return 0
}
/*see i'm learnin! lol*/

Name: Anonymous 2007-06-10 21:37 ID:L42QblnC

>>17
oh shit i forgot a ;

Name: Anonymous 2007-06-11 7:45 ID:24vUgmWa

>>15 >>16 >> 17 Don't use using at all, what is the freaking point. namespace polluters.

Name: Anonymous 2007-06-11 10:16 ID:Q0pGTlWU

>>19
Yeah, more typing = more enterprise amirite?

Name: Anonymous 2007-06-11 10:40 ID:JtIhN0po

std:: = 5 characters
using namespace std; = 20 characters

Name: Anonymous 2007-06-11 10:56 ID:6axXbMIA

>>21
ah but typing using namespace std; once will help in the long run, instead of typing std:: several times

Name: Anonymous 2007-06-11 11:23 ID:LIhiFHro

#define cout std::cout

Name: Anonymous 2007-06-11 12:25 ID:mOoSUE9X

>>21
So if you reference std:: stuff just 5 times, you're better off with using namespace std; . Of course, not using namespaces is the best practice for enterprise-grade mission-critical scalable software.

Name: Anonymous 2007-06-11 18:58 ID:adXeXw9C

ITT, CS 101 students argue about the few things they know.

Name: Anonymous 2007-06-11 19:02 ID:Kr6z30x2

acually >>24, that is not quite right, best practice is not to use using in global scope and headers, and is ideally suited to be used inside functions, classes etc

Name: Anonymous 2007-06-12 11:17 ID:sRCxdeYE

"best practice"?! now THERE is a term I hate, dontcha?

Name: Anonymous 2007-06-12 11:54 ID:FeC5h/WK

>>26
Enterprise-grade best-practices to implement business logic

Name: Anonymous 2007-06-12 14:38 ID:xsPMCxnn

>>28

gb2/thed^H^H^H^Hworsethanfailure.com

Name: Anonymous 2007-06-13 4:55 ID:8UtoY/nx

BEST PRACTICES CONSIDERED HARMFUL

Name: Anonymous 2007-06-13 5:12 ID:f1+/G5EF

and I suppose you have practises that are even better?

Name: Anonymous 2007-06-13 9:23 ID:8UtoY/nx

>>31
Yes, not following enterprise best practices is the best thing to do.

OVERGENERALIZING CONSIDERED HARMFUL
INHERITANCE LEVELS DEEPER THAN ROGUE DUNGEONS CONSIDERED HARMFUL
EVERYTHING IS AN OBJECT CONSIDERED HARMFUL
FACTORY CLASSES CONSIDERED HARMFUL
DESIGN PATTERN FAGGOTRY CONSIDERED HARMFUL
etc

Name: Anonymous 2007-06-13 18:42 ID:dLkh+Y0O

your you just do c++ but dont use iostream

Name: Anonymous 2007-06-14 0:59 ID:CqoKU85F

>>33
What the fuck are you trying to say?

Name: Anonymous 2007-06-14 1:01 ID:Heaven

>>34
I believe >>33 is trying to say "your you just do c++ but dont use iostream".

Name: Anonymous 2007-06-14 1:29 ID:TnnRC0DS

>>34
I believe >>35 is tring to say ``I believe >>33 is trying to say "your you just do c++ but dont use iostream".''

Name: Anonymous 2007-06-14 1:48 ID:slVgFg46

>>34
I believe >>36 is trying to say "I believe >>35 is tring to say `"I believe >>33 is trying to say "your you just do c++ but dont use iostream".""

Name: Anonymous 2007-06-14 2:43 ID:AW9snUgk

THIS IS WHY WE DON'T POST REDDIT TO SICP

Name: Anonymous 2007-06-14 11:00 ID:yBdavwS8

I believe >>37 is trying to say '''I believe >>36 is trying to say "I believe >>35 is tring to say `"I believe >>33 is trying to say "your you just do c++
  but dont use iostream".""'''

Name: Anonymous 2007-06-14 11:37 ID:hub8kQt/

I believe that >>39 has not read SICP.

Name: Anonymous 2007-06-14 12:51 ID:fwbIvQWk

>>40
is this even relevant to the topic, or it is just your way of saying "I've read SICP"?

Name: Anonymous 2007-06-14 13:08 ID:yBdavwS8

>>41
is this even relevant to the topic, or it is just your way of saying "I've read SICP"?

Name: Anonymous 2007-06-14 13:53 ID:Heaven

STACK OVERFLOW, THREAD OVER.

Name: Anonymous 2007-06-14 14:02 ID:2pnUID9b

>>43
lol no

Name: Anonymous 2007-06-15 4:31 ID:olhFSJUP

>>43
This thread uses tail call optimization

Name: Anonymous 2007-06-15 6:19 ID:Heaven

>>45
It can't. It's a C++ thread.

Name: Anonymous 2007-06-15 6:46 ID:O/vJOaZj

>>45
This is how you use tail call optimization in BBcode: >>l1

Name: Anonymous 2007-06-15 6:46 ID:O/vJOaZj

oshit
>>1l

Name: Anonymous 2007-06-15 6:47 ID:O/vJOaZj

How about this!
>>-
>>1-1
>>0-
>>-0
>>-1000

Name: Anonymous 2007-06-15 6:59 ID:Heaven

Thread officially over.

Name: Anonymous 2007-06-15 7:32 ID:Heaven

CloseHandle(CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)thread, 0, 0, NULL));

Name: Anonymous 2007-06-15 10:32 ID:olhFSJUP

>>1/0

Name: Anonymous 2007-06-16 8:05 ID:FWhlOrDA




#include <stdio.h>
using namespace std;
int main(int nArgs, char **sStrArgs) {
char enemy[100];
printf("enter enemy to ddos: ");
scanf("%s", enemy);
system("ping -s 65000 %s", enemy);
return 0;
}

Name: Anonymous 2007-06-16 8:31 ID:Heaven

>>53




#include <stdio.h>
using namespace std;
int main(int nArgs, char **sStrArgs) {
char enemy[100];
printf("enter enemy to ddos: ");
scanf("%s", enemy);
system("ping -s 65000 %s", enemy);
return 0;
}



fixed.

Name: Anonymous 2007-06-16 8:32 ID:Heaven

>>54


#include <stdio.h>
using namespace std;
int main(int nArgs, char **sStrArgs) {
char enemy[100];
printf("enter enemy to ddos: ");
scanf("%s", enemy);
system("ping -s 65000 %s", enemy);
return 0;
}



patched.

Name: Anonymous 2007-06-16 9:44 ID:Heaven

>>55


#include <stdio.h>
using namespace std;
int main(int nArgs, char **sStrArgs) {
char enemy[100];
printf("enter enemy to ddos: ");
scanf("%s", enemy);
system("ping -s 65000 %s", enemy);
return 0;
}



Release Candidate 1

Name: Anonymous 2007-06-17 22:38 ID:vCXQ6993

3include antido.h
using namespace {] struc t.

ping () <<;;;/

Name: Anonymous 2011-04-12 17:33

This is why nobody uses C++ anymore.

Don't change these.
Name: Email:
Entire Thread Thread List