Click here to Skip to main content
15,915,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual Studio 2008 Pin
Kevin McFarlane30-Dec-07 3:45
Kevin McFarlane30-Dec-07 3:45 
GeneralRe: Visual Studio 2008 Pin
bob1697229-Dec-07 19:44
bob1697229-Dec-07 19:44 
GeneralRe: Visual Studio 2008 Pin
Bram van Kampen30-Dec-07 14:02
Bram van Kampen30-Dec-07 14:02 
GeneralRe: Visual Studio 2008 Pin
bob1697230-Dec-07 17:40
bob1697230-Dec-07 17:40 
GeneralAdd a new property page to a property sheet, but in another position than the last one... Pin
Joan M29-Dec-07 10:49
professionalJoan M29-Dec-07 10:49 
GeneralRe: Add a new property page to a property sheet, but in another position than the last one... Pin
Mark Salsbery29-Dec-07 14:02
Mark Salsbery29-Dec-07 14:02 
GeneralRe: Add a new property page to a property sheet, but in another position than the last one... Pin
Joan M29-Dec-07 14:08
professionalJoan M29-Dec-07 14:08 
GeneralLinker error Pin
dellthinker29-Dec-07 10:45
dellthinker29-Dec-07 10:45 
Hi all, i've played with/search for a solution and gotten frustrated over a problem that i have with a piece of code and i cant seem to get it down for some retarded reason.

The error is this: error LNK2001: unresolved external symbol "int __cdecl brandom(int,int)" (?brandom@@YAHHH@Z)

The code its talking about is

<br />
#include <iostream><br />
#include "header.h"<br />
using namespace std;<br />
<br />
int dport = brandom(1900, 48000);<br />
<br />
int main(){<br />
int dport = brandom(1900, 48000);<br />
cout << dport << endl;<br />
return 0;<br />
}<br />
<br />
#ifndef __RANDOM_H__ // Contents of header.h<br />
#define __RANDOM_H__<br />
void init_random();<br />
int brandom(int client,int top);<br />
int get_random_number(int range);<br />
#endif <br />
</iostream>


I've been to msdn about this stupid problem and yet i cant find out a way to resolve this. Can anyone help? Thanx in advance!
GeneralRe: Linker error Pin
Joan M29-Dec-07 10:53
professionalJoan M29-Dec-07 10:53 
GeneralRe: Linker error Pin
Bram van Kampen29-Dec-07 15:01
Bram van Kampen29-Dec-07 15:01 
GeneralRe: Linker error Pin
Joan M29-Dec-07 15:07
professionalJoan M29-Dec-07 15:07 
GeneralRe: Linker error Pin
CPallini29-Dec-07 12:38
mveCPallini29-Dec-07 12:38 
GeneralRe: Linker error Pin
bob1697229-Dec-07 19:26
bob1697229-Dec-07 19:26 
QuestionCreating user defined messages and events in MFC Pin
jossion29-Dec-07 0:02
jossion29-Dec-07 0:02 
GeneralRe: Creating user defined messages and events in MFC Pin
CPallini29-Dec-07 2:02
mveCPallini29-Dec-07 2:02 
GeneralRe: Creating user defined messages and events in MFC Pin
Mark Salsbery29-Dec-07 7:24
Mark Salsbery29-Dec-07 7:24 
QuestionHow to get current screen DPI? Pin
hanlei000000000928-Dec-07 21:50
hanlei000000000928-Dec-07 21:50 
AnswerRe: How to get current screen DPI? Pin
CPallini28-Dec-07 22:58
mveCPallini28-Dec-07 22:58 
AnswerRe: How to get current screen DPI? Pin
Mark Salsbery29-Dec-07 7:34
Mark Salsbery29-Dec-07 7:34 
AnswerRe: How to get current screen DPI? Pin
grmanoj19-Dec-12 17:15
grmanoj19-Dec-12 17:15 
GeneralApplication Crash problem Pin
Atul2328-Dec-07 18:10
Atul2328-Dec-07 18:10 
GeneralRe: Application Crash problem Pin
Steve Echols28-Dec-07 19:26
Steve Echols28-Dec-07 19:26 
GeneralRe: Application Crash problem Pin
Atul2328-Dec-07 19:37
Atul2328-Dec-07 19:37 
GeneralRe: Application Crash problem Pin
Steve Echols28-Dec-07 19:53
Steve Echols28-Dec-07 19:53 
GeneralRe: Application Crash problem Pin
Atul2328-Dec-07 21:33
Atul2328-Dec-07 21:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.