C Board  

Go Back   C Board > General Programming Boards > Networking/Device Communication

Reply
 
LinkBack Thread Tools Display Modes
Old 12-16-2006, 06:51 AM   #1
Registered User
 
Join Date: Dec 2006
Posts: 3
Same problem

<<mod>>
Split from Simple Winsock Code using DevCPP
<<mod>>

I did all the things above, but i have the same error:
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\mihai\Desktop\joc\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\mihai\Desktop\joc\Makefile.win" all
make.exe: Nothing to be done for `all'.

Execution terminated
Compilation successful

. What can i do . or what should be exactly on those 3 columns . please help.

Last edited by Salem; 12-16-2006 at 07:04 AM. Reason: Add url of original thread
fr33ze is offline   Reply With Quote
Old 12-16-2006, 06:56 AM   #2
Registered User
 
Join Date: Dec 2006
Posts: 3
Or ... how does this thing work

I am new in programming with dev-c++ , and i just don't understand how can i solve my problems. I handle well this program with normal programs, but i have wrote an aplication for connecting to a socket, and i had the problem above, i tried then to make a short program like :
Code:
#include <stdio.h>
#include <conio.h>
int main() {
    getch();
    return 0;
}
but the same problem :

Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\mihai\Desktop\joc\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\mihai\Desktop\joc\Makefile.win" all
g++.exe -c ag1.c -o ag1.o -I"lib/gcc/mingw32/3.4.2/include" -I"include/c++/3.4.2/backward" -I"include/c++/3.4.2/mingw32" -I"include/c++/3.4.2" -I"include"

g++.exe ag1.o -o "ag1.exe" -L"lib" -mwindows

Execution terminated
Compilation successful


for projects, i get this : "Execution terminated" . Or what am i doing wrong ?
10x
fr33ze is offline   Reply With Quote
Old 12-16-2006, 07:02 AM   #3
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,710
Split from Simple Winsock Code using DevCPP
FYI, we don't allow bumping of old threads, so I've split this into a new thread.

> for projects, i get this : "Execution terminated" . Or what am i doing wrong ?
Nothing, look at the next line which says "success"
If you get that, then just CTRL-F10 or Execute->Run and see what happens with your new code.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

Salem is offline   Reply With Quote
Old 12-17-2006, 03:28 AM   #4
Registered User
 
Join Date: Dec 2006
Posts: 3
Code:
#include <stdio.h>
#include <conio.h>
int main() {
    int n;
    scanf("%d", &n);
    printf("%d", n);
    getch();
    return 0;
}
ok . but what is wrong is .... for the project above, the new window ag1.exe, in wich the program is compiled, does not work. It just doesn't open in a new window, where it would wait for a number to be written.
This is what i just don't understand, in working with projects.
fr33ze is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple C code problem neo28 C Programming 24 05-16-2009 10:48 AM
Problem with simple piece of code Furious5k C++ Programming 10 12-12-2008 05:25 PM
Simple C++ question. Error in code somewhere. Paracropolis C++ Programming 10 02-06-2006 08:59 AM
Weird error in this simple code! C2248! gross100 C++ Programming 2 12-10-2005 01:31 AM
Request for comments Prelude A Brief History of Cprogramming.com 15 01-02-2004 10:33 AM


All times are GMT -6. The time now is 03:59 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22