Search:

Type: Posts; User: AmirHossein H-m

Search: Search took 0.01 seconds.

  1. Solved thanks !!!

    Solved thanks !!!
  2. Program compiles but doesn't run ~ attached debugging screen

    Sorry for reposting my program because I couldn't modify my last post

    My program compiles but doesn't run,

    It would be great if you could help
    Here is the screen shot of debugging

    12708
    ...
  3. C:\Users\Amir.Asus\Documents\assi6\DynBag.cpp||In...

    C:\Users\Amir.Asus\Documents\assi6\DynBag.cpp||In function 'std::ostream& operator<<(std::ostream&, const Bag&)':|
    C:\Users\Amir.Asus\Documents\assi6\DynBag.cpp|124|warning: no return statement in...
  4. Thanks , But my problem didn't solve ...

    Thanks , But my problem didn't solve ...
  5. Didn't work and getting these errors: ...

    Didn't work and getting these errors:

    http://s23.postimg.org/jq8h1548r/Untitled.jpg


    this is my main:


    #include <stdexcept>
    #include <iostream>
  6. Need help finishing two operator overloading functions

    I am wondering can some help to finish these two remaining operator overloading functions

    Also, "contents and NumItems are private"

    Thanks


    Bag operator+ (const Bag& b1, const Bag& b2);...
  7. [qt and C++] Copied some example code but getting an error ~~~ Please help

    First of all , I am new in qt and coming from Java
    I want to run and compile some qt code so I can learn it , then I went to this website and saw they provided some qt examples
    Qt 4.6: Analog Clock...
  8. Please help , I am new in qt ~simple program

    Please help ...
    I am coming from Java and new in qt and c++
    I am getting these errors


    //I skipped to copy those parts of my code in which compiles properly



    main.obj:-1: error: LNK2019:...
  9. Getting Error and I don't understand why !

    This is my program and after I added chdir function I get the error below and I don't understand why ?
    In short , this compile error started after I added chdir function, please help if you have any...
  10. Replies
    2
    Views
    1,822

    C programming , program does't work

    This is the program that supposed to take 3 command line arguments
    First one is the absolute path
    Second is the name of C file to compile
    Third is the name of the compiled object file

    then...
  11. C programming,very short question?

    I have an absolute path to a directory and name of .c file to be compiled and maybe run it if it is possible ? (using gcc like gcc test.c and then ./a.out to run)

    I want to use execlp to run the...
  12. Array vs pointer in C, very short questions?

    Which one (Array or pointer) is located in read only portions of memory ?

    In other words

    char* x = "hello";
    x[1] ='m';
    I get error here

    but when I use array like
    char x[] ="hello";
  13. C programming,very short question,please help

    This is the code I have and I want to ask the user for input name in each of 10 address of my array using scanf




    ARRAY_SIZE=10

    char (*ARRAY)[ARRAY_SIZE]= (char (*)[ARRAY_SIZE]) malloc(...
  14. C programming,very short question,accesing variable from other class

    Here is the link for my program, I want to access the average value which is located in grade.c (calculate_grade) class through driver.c (main function) but I don't know how to make "average" visible...
  15. How I can pass that array to "void...

    How I can pass that array to "void print_array_names" and how to use it for fgets ?
  16. Can you please explain more,I am very new to C

    Can you please explain more,I am very new to C
  17. very simple C programing , getting errors and please take a look at my code?

    This is my program and it compile without any problem but when I run it I get segmentation fault great and if there are other problems (which I am sure there are plenty of them) please tell me,,,
    ...
Results 1 to 17 of 17