User Profile
Collapse
-
when I debug it was asking for an exe to debug with I chose the one it allowed me to without typing but that doesn't work. How do I change it now ? second unless I have a code back to the header how am I going to test the code ? so do I connect it to the exe that I've now made then change the code to point towards the header and act on the codes ? -
basically I want it such that include "________.h calls the source instead of including the source file within the codes compiled with the project.Leave a comment:
-
should I make my own exe to test with as it doesn't work with the one provided to me as an optionLeave a comment:
-
-
okay I got the dll built but now it's asking me to name an exe to debug I don't have one that uses the new codes how do I do this part.Leave a comment:
-
-
fine I'll redefine what I want:
1) a header file
2) the source to go along with it so that the functions have meaning and can be later included in projectsLeave a comment:
-
no you know the fact that the question involved the word header is no indication, telling me to consider switching is in a way telling me to so in fact you have told me to switch, I've followed #3 then made the files inside, and surprise I got exactly the same errors!Leave a comment:
-
The thing I hate is that I asked a question about header files, got told by you to switch IDE's and to use a console app yet now I'm being told that's wrong. also the only thing I see that says library is class library and I'm not trying to make a class.Leave a comment:
-
main is in most programs but this is header and function set I usually let dev c++ make main for meLeave a comment:
-
Code:#ifndef RODDYH #define RODDYH double log_x(double a, double b); #endif
Code:#include <math.h> #include <stdlib.h> #include "roddy.h" void main(); double log_x(double a, double b) { double c = 1.0/b; return pow(a,c); }
Leave a comment:
-
working with .c file not .cpp, header never used main that I have ever seen.Leave a comment:
-
Code:#ifndef RODDYH #define RODDYH float log_x(unsigned long long a, unsigned long long b); float root_x(unsigned long long c,unsigned long long d); #endif
Code:#include <math.h> #include <stdlib.h> #include "roddy.h" float log_x(unsigned long long a, unsigned long long b) { float c = 1/b; return pow(a,c);
Leave a comment:
-
I did everything I can think of to fix errors here's my new list:
Warning 1 warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data c:\users\roddy\ documents\visua l studio 2008\projects\r oddy\roddy\rodd y.c 6 roddy
Error 2 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStar tup MSVCRTD.lib roddy
Error 3 fatal error LNK1120: 1 unresolved externals...Leave a comment:
-
-
I'm less than 20 minute away from a trial of visual studio professional so how do I do it in that one ? so I use source file creation ?Leave a comment:
-
I still don't know how to make the project type to make the headers why care about a compiler change if I can't figure out what project type i need for the job in dev c++ I don't see anything close to anything that could be a header setup I know I need both the header and a source code I don't see how to do that.Leave a comment:
-
not to be mean but it would be nice if you read my first post it clearly makes fun of the fact I'm using Dev C++Leave a comment:
-
a is completely wrong and b is likely as I've never done this before.Leave a comment:
-
I obviously am missing something things I've tried are:
using compilers headers as a template,
copying a code said to be accurate,
both of these gave me the same result then i took something out that I thought was just for the example and I got more errors put it back in exactly as I remembered it and got even more errors I think.Leave a comment:
No activity results to display
Show More
Leave a comment: