Solved thanks !!!
Type: Posts; User: AmirHossein H-m
Solved thanks !!!
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
...
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...
Thanks , But my problem didn't solve ...
Didn't work and getting these errors:
http://s23.postimg.org/jq8h1548r/Untitled.jpg
this is my main:
#include <stdexcept>
#include <iostream>
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);...
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...
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:...
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...
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...
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...
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";
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(...
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...
How I can pass that array to "void print_array_names" and how to use it for fgets ?
Can you please explain more,I am very new to C
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,,,
...