Search:

Type: Posts; User: DarkStar

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Compiling

    by DarkStar
    Replies
    8
    Views
    1,446

    Is the library pgaO.lib or libpgaO.a ? Are the...

    Is the library pgaO.lib or libpgaO.a ?
    Are the errors telling you that it cannot find an GNU archive ?

    If it's pgaO.lib you may have to change LDFLAGS to

    -s ...
  2. Thread: Compiling

    by DarkStar
    Replies
    8
    Views
    1,446

    This is link time errors not compile time. If an...

    This is link time errors not compile time. If an .lib file with headers comes with the package and not source code, you have to pass the lib to g++ to resolve all the external references.
  3. Replies
    3
    Views
    1,021

    There is avaliable the spawnl function...

    There is avaliable the spawnl function (process.h). Using KERNEL32.DLL CreateProcess will get the job done...



    #include <windows.h>

    int main(void)
    {
    STARTUPINFO si;
    ...
  4. Replies
    6
    Views
    1,889

    You have not compiled the implementation file....

    You have not compiled the implementation file. When you are compiling the main application file the linker is referencing object code that does not yet exist.

    Compile (do not try to link) book.cpp...
  5. Replies
    2
    Views
    2,266

    String is in the standard namespace. Give string...

    String is in the standard namespace. Give string it's scope resolution.. std::string. You could place using namespace std; after the include files <string> <iostream> etc.
  6. Replies
    2
    Views
    1,475

    It is ISO C99 compliant. ISO C99 is the name...

    It is ISO C99 compliant.

    ISO C99 is the name of the current international C standard, from December 1999, ISO/IEC 9899:1999.

    The former international C standard is from 1990 (ISO/IEC...
  7. Replies
    10
    Views
    1,350

    Fordy is right. It's just something interesting...

    Fordy is right. It's just something interesting and unusual and nothing more than that.
  8. Replies
    2
    Views
    1,475

    A nice C compiler and IDE

    PellesC, check it out.
    www.smorgasbordet.com/pellesc
  9. Replies
    10
    Views
    1,350

    I have found a way to get this to link without a...

    I have found a way to get this to link without a warning.



    #include <iostream>

    class winapp
    {
    public:
    winapp()
  10. Replies
    10
    Views
    1,350

    Your right nvoigt, that's what is really...

    Your right nvoigt, that's what is really happening.
  11. Replies
    10
    Views
    1,350

    Yes, I see it more as some sort of a bug in...

    Yes, I see it more as some sort of a bug in ld.exe that it allows it to go thru with just a warning. You should not really be able to do this, it's sort of like the public static main in a Java app....
  12. Replies
    17
    Views
    2,982

    The GCC in the latest beta of Dev is more up to...

    The GCC in the latest beta of Dev is more up to date with the current C++ standard.
  13. Replies
    10
    Views
    1,350

    Check this out !

    Some of you probably know how to do this, but i just discovered how to encapsulate the main function. Using Dev C++ 4.9.9.0 i got this bit of code to compile and link with 1 warning issued: ...
  14. Replies
    31
    Views
    4,209

    Create public methods that return the private...

    Create public methods that return the private data...



    class Card
    {
    public:
    Card();
    void setSuit(string newSuit);
    friend istream& operator >> (istream& is, Card& cd);
  15. Replies
    11
    Views
    6,331

    I learned how to read by learning how to talk, I...

    I learned how to read by learning how to talk, I learned how to write by reading.

    Just start coding Windows applications in C++ right now, the details will become clear later.
  16. Replies
    5
    Views
    1,523

    I think I follow what your asking, try the...

    I think I follow what your asking, try the example, and then apply it to your problem. Maybe it's what your looking for.



    #include <process.h>

    int main (void)
    {
    _spawnl (_P_WAIT,...
  17. Replies
    2
    Views
    980

    Go to here (http://www.madwizard.org/), Find the...

    Go to here, Find the tutorial on winsock programming in C++. It explains the things your asking about.
  18. Replies
    11
    Views
    2,020

    In the case of the procedural block, the opening...

    In the case of the procedural block, the opening brace gives you
    push ebp
    mov ebp,esp

    The closing brace gives
    pop ebp
    ret
  19. Replies
    12
    Views
    19,011

    These functions reside in libth32.a. Pass -lth32...

    These functions reside in libth32.a. Pass -lth32 to gcc or g++.
  20. Replies
    4
    Views
    1,752

    One of the best tutorials on network programming...

    One of the best tutorials on network programming I have seen is at http://www.madwizard.org/. It is very well written, easy to follow and gives you a good foundation in learning the Winsock API. Both...
  21. Replies
    11
    Views
    2,190

    This function I wrote will work on ME systems as...

    This function I wrote will work on ME systems as well. Pass to it the name of the application module in upper case (e.g. NOTEPAD.EXE). The function will return the number of terminated processes...
  22. Replies
    6
    Views
    1,043

    c++ :D You have got to be kidding.

    c++

    :D

    You have got to be kidding.
  23. Re: Creating a .cfg file for Borland C++ 5.5 Command line compiler

    "bcc32.cfg"

    Put qoutation marks on either side of the filename before saving.
  24. Replies
    7
    Views
    1,896

    bcc32 -tW -w-par LogIEUrlrRequests.cpp

    bcc32 -tW -w-par LogIEUrlrRequests.cpp
  25. Replies
    8
    Views
    1,861

    Yes, the .o files related to the headers supplied...

    Yes, the .o files related to the headers supplied by GNU are located in the .a archive (library) files in the Lib directory. GCC and G++ will automatically have LD search this folder to resolve...
Results 1 to 25 of 108
Page 1 of 5 1 2 3 4