I am having problems with bubble sorting a 2d array. I know I need 3 loops but I do not know where to put the third. any help would be greatly appreciated.
void bubble(int arr[])
{
int i,...
Type: Posts; User: stodd04
I am having problems with bubble sorting a 2d array. I know I need 3 loops but I do not know where to put the third. any help would be greatly appreciated.
void bubble(int arr[])
{
int i,...
I am trying to fill a 2d array from a text file that contains 54 integers. The files open fine but I am having a problem with a segmentation fault that I get when I try to read the ints into the...
Quzah, I cannot thank you enough for your infinite programming wisdom. I am going back to the drawing board and restructring the program to add some stuff and get rid of some redundancy. I will post...
I would say it would be more my own stupidity than the ability of the teacher
Nah... thats not an assignment from my class. Thank ya'll very much for you help
ah... thank you very much that was very helpful
its reading data from a file using a linux command like this:
a.out < t1
yea display is not quite finnished. My main problem is getting the characters to convert properly t1 is also a text...
I want to write a simple encryption program that does the following: Take a file as input (redirected at the Unix prompt), and encrypt/decrypt and print each character as directed. Convert...
ahh... stupid me... forgot the "&" when I rewrote it on the server. Thank you very much for catching my stupid mistake
when I try to run this program it gives me an error message saying "segmentation fault". Any insight would be greatly appreciated. It compiles with gcc just fine. But I did not get this error when I...
for the "disappearing window before the program executes problem" simply type:
system("pause"); right before the return at the end of main. I know this works in C I dunno about C++
thank ya'll very much for all of your help. I finally figured out passing by reference with pointers with great help from the many wonderful examples. attached is the final code. thanks for the...
pointers didnt do the trick either... gonna try gcc to see if there is a difference
for some reason I cannot pass a reference in the function prototype. so I am going to give the pointers a shot
thanks for your responses... I am using bloodshed dev-c++ in c mode... for the class it has to compile on gcc which in past projects has not been a problem
I have a simple project for my intro to C class inwich we are suppose to pratice passing varibles through functions. It is a bit over modulized but that is the point of the exercies. The problem I am...