Wow that was what was causing the problem I forgot to allocate space for Speed, I really didn't imagine that was causing it. Thanks For the help everyone
Type: Posts; User: tsmith94
Wow that was what was causing the problem I forgot to allocate space for Speed, I really didn't imagine that was causing it. Thanks For the help everyone
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<string.h>
#include<math.h>
const float pi = 3.1416;
Nevermind commenting them out I got the same error.
Do you think its possible the problem may be in the way I used the functions sqrt , sin or cos?
Nope , the project is all in one source file , I can run it if I block out that one function.
I suppose I could come up with a better way of terminating the loop than feof and make the code a bit more readable but for now the code is still a work in progress I definitely plan on fixing it up...
Hello I'm working on a project for a school presentation, The program is not really finished but 1 module is causing a linker error , "LNK1120 Unresolved external" and I'm unable to find why.
...
I recently have been playing with allegro graphics library , it is going well so far , but I have a question I was wondering if anyone could answer , is it possible to use the library to create an...
Hello , this is my first time attempting to sort an array of strings and I am having some difficulty. My code is to read in first names and last names into two 2D arrays , sort them into a 3D array...
I'll look into it thanks
Hello again. Today I don't actually have a problem just a question. How do I test the datatype a user inputted for example: I ask to enter an int and they enter a char instead , is there anyway to...
Wow, I missed that. Thank you guys
1>Merge Sort Demonstration.obj : error LNK2028: unresolved token (0A000012) "void __cdecl displayElements(int * const,int)" (?displayElements@@$$FYAXQAHH@Z) referenced in function "int __cdecl...
Sorry... but I need help with a problem I have I'm writing a Merge Sort for a class presentation but I'm having a problem running it.
#include<stdio.h>
#include<stdlib.h>
#include<time.h>...
%.2fspecifies that there will be 2 decimal places in the output , if you print with %f the output will be in default format , which i think is 6 places for float.
I found an error where I had a ; onthe for loop in line 27 , thanks to the printf. but now i get the correct result times 100 when I print r.
Hello again. doing a question in which I am to read the gross sales of a sales person and calculate their salary , which is 200 + 9% of gross salary. Then I am to count the number of workers between...
Thanks. I was over thinking it , is why i didn't use a for loop. I changed it.
Thank you ,its working now. I understand why the extra bits were unnecessary. Learned something today :)
Hi, I'm pretty new to C programming. Writing a program to search through an array and print the number and its position. The program compiles and runs and if the value entered is not present in the...