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

Pages: 1-4041-

Why I'm growing to dislike C and C++.

Name: Anonymous 2009-08-16 10:03

The fact that The windows API is best supported by these two languages kind of forces me to make use of them, and as languages go, they aren't terrible. They may be a little outdated, and I'm having a hard time trying to find good documentation on header files, but they aren't bad languages.

The problem I have with them however, is that I can take the source files from one project, which I know are perfectly valid C code, put them into a project in a different IDE, and they will fail to compile. There's some kind of setting, completely separate from the visible code, which I can't find any documentation for, which means the difference between some valid code compiling or failing to compile.

I really want to program using the Windows API, but the way that compilers and IDEs are set up seems hell bent on preventing me from doing so. What else is needed to compile programs, beyond the .c or .cpp files, the .h files, and the compiler?

Name: sage 2009-08-16 10:04

Win32 API

Name: Anonymous 2009-08-16 10:32

>>1
What else is needed to compile programs, beyond the .c or .cpp files, the .h files, and the compiler?
configure.ac and Makefile.am.

Name: Anonymous 2009-08-16 10:35

Header include paths and the libraries to be used in linking.

Name: Anonymous 2009-08-16 10:48

>>3
>>4

Where can I find documentation on these things an how to use them? I've never seen them mentioned in any of the compilers I use, They never appear in any tutorials or books I've seen on windows programming, and my lecturers never mentioned them when talking about C and C++ programming.

Name: Anonymous 2009-08-16 11:00

Stop relying on IDEs and weird compilers. Use vi and gcc.

Name: Anonymous 2009-08-16 11:02

Name: Anonymous 2009-08-16 11:16

I have never used make, I just throw .cs and .hs together. Why should I use it anyway?

Name: Anonymous 2009-08-16 11:24

>>8
.cs and .hs
Coctothorpe and Haskell?

Name: Anonymous 2009-08-16 11:42


(define for (lambda ()
(display "DESU")
(newline)
(for)))

Name: Anonymous 2009-08-16 11:43

>>9
No, that's a proper pluralisation (not the proper), despite what the heretic's and their apostrophe's want you to believe.

Name: Anonymous 2009-08-16 11:49

Name: Anonymous 2009-08-16 12:41

The thing is, on MS Windows, every IDE has a different compiler. And I dunno any Windows' compiler which will be standards compliant. That's why your code needs changes every time.

Name: Anonymous 2009-08-16 12:45

>>13
compiler is separate from the IDE.

Name: Anonymous 2009-08-16 12:53

>>14
eh, no.

Name: Anonymous 2009-08-16 12:53

put them into a project in a different IDE, and they will fail to compile.

IF YOU ABIDE THE C(++) STANDARD THIS SHOULDN'T HAPPEN.
IF IT DOES THEN THE IDE IS SHIT.
IF YOU DON'T CARE ABOUT THE STANDARD THEN YOU MAY GO FUCK YOURSELF.

Name: Anonymous 2009-08-16 13:31

>>16
Sepples is not the standard, it is a standard.  Caring about it to the exclusion of all others is retarded.  And wanting to use third-party libraries, or OS facilities beyond the primitive file streams it provides, is not a sin.

Name: Anonymous 2009-08-16 13:49

>>17
The standard programming language! Sepples!! SEPPLES IS THE STANDARD!!

Name: Anonymous 2009-08-16 13:57

>>17
There isn't a single Sepples library out there the use of which requires that you violate the standard.
This sort of bullshit is why people think of Sepples programmers as the nadir of modern programming.

Name: Anonymous 2009-08-16 13:59

You guys keep saying "Sepples" and I have no idea what it is.
Can someone please explain?
I've already tried Google to no avail.

Name: Anonymous 2009-08-16 14:05

>>20
See Plus Plus

It works if you fudge the pronunciation a little.

Name: Anonymous 2009-08-16 14:09

>>21
Thank you, /prog/er

Name: Anonymous 2009-08-16 14:43

This thread is stupid. You can use any language you want which has a decent FFI with the Win32 API. It uses the __stdcall calling convention on 32bit OSes, and it's not hard to write(or automatically generate) thunks to it if your FFI doesn't support it.

What else is needed to compile programs, beyond the .c or .cpp files, the .h files, and the compiler?
The source and the compiler are the minimum, but you may want a build/make system, optional IDE and/or debugger(s) and others.

Name: Anonymous 2009-08-16 14:57

>>1
I really want to program using the Windows API
Loled.

Name: Anonymous 2009-08-16 15:06

>>19
illiterate nigger

Name: Anonymous 2009-08-16 15:14

>>23
This thread is stupid. You can use any language you want which has a decent FFI with the Win32 API.
So, C and Sepples, then.

Name: Anonymous 2009-08-16 15:27

>>26
You can do it in many other languages besides those. I have trouble thinking of real languages which can't interface with the Win32 API through their FFI.

Name: Anonymous 2009-08-16 15:32

you queers need to calm down!

Name: Anonymous 2009-08-16 15:38

>>27
real languages
So......... C and Sepples, then.

Name: Anonymous 2009-08-16 16:05

>>29
You're half right

Name: Anonymous 2009-08-16 16:12

>>30
I assume you're referring to his grammar being correct?

Name: Anonymous 2009-08-16 17:42

>>30
So.... Just C? :(

Name: Anonymous 2009-08-16 18:01

ITT OP hates perfectly good languages because he's too stupid to figure out how to use their toolchains properly.

Name: Anonymous 2009-08-16 18:11

>>33
ITT someone just called Sepples a perfectly good language.

Name: Anonymous 2009-08-16 18:38

Use C = C + 1;

Name: Anonymous 2009-08-16 18:46

>>35
ADD 1 TO COBOL GIVING COBOL

Name: Anonymous 2009-08-16 18:58

are you programming in windows... with IDEs?

Name: Anonymous 2009-08-16 19:41

>>33

Well I want to like them, but it seems nobody's telling me how to do it properly.

Name: Anonymous 2009-08-16 19:46

>>38
Ask your mommy to hold your hand while you code.

Name: Anonymous 2009-08-16 20:19

>>38
What do you expect…you haven't even told us what you did wrong.

Name: Anonymous 2009-08-17 2:47

>>40
Used C and C++?

Name: Anonymous 2009-08-17 7:14

>>41
Used C++
ftfy

Name: Anonymous 2009-08-17 10:41

Used C
ftfy

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