Simple Winsock Code using DevCPP - reloaded

This is a discussion on Simple Winsock Code using DevCPP - reloaded within the Networking/Device Communication forums, part of the General Programming Boards category; <<mod>> Split from http://cboard.cprogramming.com/showthread.php?t=85264 <<mod>> I did all the things above, but i have the same error: Compiler: Default compiler ...

  1. #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

  2. #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

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,852
    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.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #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.

Popular pages Recent additions subscribe to a feed

Similar Threads

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

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