Is it possible to change what mode it's compiling in?
wicked
Type: Posts; User: wicked
Is it possible to change what mode it's compiling in?
wicked
Thank you, but no, my question remains unanswered.
wicked
My question still goes unanswered. My code supposedly doesn't compile due to it's variable structure but this code compiles despite a variable declaration under a statement. This means it
1: cant...
I'm confused as this code compiles just fine.
int main() {
int v1;
char v2; /* Variable declarations fine here. */
printf("Test");
Sorry, my mistake.
wicked
#include <stdio.h>
#include <winsock.h>
#include <stdlib.h>
#pragma comment(lib, "wsock32.lib")
int main() {
WSADATA wsadata;
int error;
Yes when creating a new project I choose a C project. I'm almost positive my code contains no C++. Am I allowed to paste it to verify my claim?
wicked
Thank you all it's now working wonderfully but one of my original problems remain. When creating a project my code wont compile unless it's a C++ project. As I said before it's written in C.
wicked
Project->Project Options->Parameters.
I fail to see a parameters option. Yes I've done everything else correctly.
wicked
Thats the thing, I've got no idea how to link to it via Dev C++ 4.
wicked
As the topic suggests I'm having trouble linking libs under Dev C++ 4(windows 2000). Also when creating a C project all my code I write providing it's more than a simple "hello world" kind of...