Search:

Type: Posts; User: FourAngels

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    43
    Views
    3,491

    $ g++ -I/usr/local/include/FL -c Rabbit.cc $...

    $ g++ -I/usr/local/include/FL -c Rabbit.cc
    $ g++ -I/usr/local/lib -o Rabbit.o
    g++: fatal error: no input files
    compilation terminated.


    I even found this page: <...
  2. Replies
    43
    Views
    3,491

    I had installed it, but I could not get an...

    I had installed it, but I could not get an example program to compile and link. I used:


    g++ -I/usr/local/Include/FL -c Rabbit.cc


    Next step, It did not know how to link the .o file.
  3. player_name[i] is not the first element if i is 1...

    player_name[i] is not the first element if i is 1 instead of 0. Maybe that is the problem.
  4. Replies
    43
    Views
    3,491

    Yes, it does use cmake for sure however there is...

    Yes, it does use cmake for sure however there is a couple of directories with source files. So I thought that I could ignore cmake and use these two directories because all of the files are located...
  5. Replies
    43
    Views
    3,491

    I wasted close to 2 hrs trying to get my Makefile...

    I wasted close to 2 hrs trying to get my Makefile to compile an Fltk program. I downloaded Fltk because I went to the Stroustrup book. In the end it did not work, but the lib files are all set up for...
  6. Replies
    5
    Views
    2,669

    I tried it finally. This was the result. It...

    I tried it finally. This was the result. It overwrote the original line however the new line was not as long as the original, so it looks like it could be a problem.


    Here is some text line 1...
  7. Replies
    5
    Views
    2,669

    You could try to open the file and read the line...

    You could try to open the file and read the line that you want, edit it by writing a new line, than overwrite the file at that line location with the edited line of text. It might work.
  8. Replies
    43
    Views
    3,491

    This link will help. I could not find this...

    This link will help. I could not find this information at the time when I had this problem <https://ftp.gnu.org/old-gnu/Manuals/make-3.79.1/html_chapter/make_10.html#SEC95 >.
  9. Replies
    19
    Views
    1,638

    Try something more simple, unless I misunderstood...

    Try something more simple, unless I misunderstood the question!.... no compiler on hand to test the code.
  10. Thread: Structures

    by FourAngels
    Replies
    10
    Views
    1,108

    Okay, okay, take it easy. I wrote the linked...

    Okay, okay, take it easy. I wrote the linked lists last night and I did not realize that I compiled with g++ instead of gcc.
  11. Thread: Structures

    by FourAngels
    Replies
    10
    Views
    1,108

    I didn't want to do the cast on the return type...

    I didn't want to do the cast on the return type however the compiler complained, but it might be because I wrote c code and compiled it with the g++ compiler instead of the regular gcc compiler...
  12. Replies
    5
    Views
    2,669

    Do you know the line number or do you have to...

    Do you know the line number or do you have to find out what line number that the text string you want to edit is located on? It is easy to read a text file line by line.
  13. Thread: Structures

    by FourAngels
    Replies
    10
    Views
    1,108

    I wrote this sample code using your structure,...

    I wrote this sample code using your structure, however I do not know what you actually want to do with the program but it looks like you want a 100 books on record.


    #include <stdio.h>...
  14. Replies
    43
    Views
    3,491

    There might be more than one choice, however I...

    There might be more than one choice, however I have chosen one specific way to go, one way out of eight possible ways. It appears that the Gnu and these books that I am going by for C/C++/Python,...
  15. Replies
    43
    Views
    3,491

    The Gnu option is my only choice here, I believe,...

    The Gnu option is my only choice here, I believe, and I almost have things under control now. I can see the path better now that I have blundered enough times. The Gnu is the light, to brighten the...
  16. Replies
    43
    Views
    3,491

    ...wasn't quite finished talking. I sort of...

    ...wasn't quite finished talking.

    I sort of just follow what the book that I am reading says to do, except that it does not tell me everything, right. I have a few different books that I am...
  17. Replies
    43
    Views
    3,491

    I have to prepare to make an open source effort,...

    I have to prepare to make an open source effort, although at this time I am just reading some books. What do you mean, I thought that gnu is the best. As a second language I will take python and it...
  18. Replies
    43
    Views
    3,491

    Yes I will still be spending a bit more time on...

    Yes I will still be spending a bit more time on Makefile and thanks for the info. I have Qt Creator set up however if I want an open source project than I need to use package config, auto tools, and...
  19. Replies
    43
    Views
    3,491

    This is more like the answer that I was looking...

    This is more like the answer that I was looking for. I did not have the -o flag, so I could get it to compile into a .o file, but it would not link until I added that flag, and also the -c needed to...
  20. Replies
    5
    Views
    7,936

    Wow, this thread is now in the Projects and...

    Wow, this thread is now in the Projects and Recruitment forum...someone moved it here. In that case, I'll take the job!


    #include<stdio.h>


    int main() {
    int N;
    float number;
  21. Replies
    5
    Views
    7,936

    The fscanf function will work better than fgets,...

    The fscanf function will work better than fgets, if you can figure out how to set it up. Although I have not used fgets in 10 years, maybe it is fine. Actually the first line is N?



    int N;...
  22. Replies
    43
    Views
    3,491

    I updated the C++ makefile. It is a bit better...

    I updated the C++ makefile. It is a bit better this way: Anyway, it appeared that I had to use two lines because the -c option compiled the code but did not link, whereas with gcc the flags do both...
  23. Replies
    43
    Views
    3,491

    Easy Makefile Test

    I want to have makefiles for both c and c++ in different file folder locations. The c makefile here was nice and easy (the file needs to be called Exercises.c for this makefile...I did not set it up...
  24. My interpretation is that the functions are...

    My interpretation is that the functions are located in that .so file that you searched. It says this about .so files: "The advantage of .so (shared object) over .a library is that they are linked...
  25. Sorry that I wrote the two lines of code in the...

    Sorry that I wrote the two lines of code in the wrong order, It was a bit tricky, that was the trick, starting the loop at 1 instead of the usual 0 counter, and doing the update to the grains after...
Results 1 to 25 of 130
Page 1 of 6 1 2 3 4