![]() |
|
#1
|
|||
|
|||
Embedding a VRML Frame to an MFC Visual c++i have a program in visual c++ which clusters numeric data and intend to show the results using VRML. any ideas of how i go about it?
|
|
#2
|
||||
|
||||
|
I'm Sorry.This is something that I have no knowledge of. Maybe you could explain to me what is a VRML?? I want to help, but not knowing what exactly you want to do??
__________________
When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds |
|
#3
|
||||
|
||||
|
I did some search on VRML, here is what I got:
Search Result I don't know if this what youre looking for, sorry that I lack knowledge and can't be of help to you!! __________________
When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds |
|
#4
|
|||
|
|||
|
Quote:
i will keep on looking into that one. at the moment i have a problem. i want to tokenise CString in the MFC . i tried this code but it seems the program does not even realize the "token.h" CPP / C++ / C Code:
it is a string of integers and want to store them in a vector/array |
|
#5
|
||||
|
||||
|
What is the problem? Header file 'token.h' not found? what CToken do???
Here is some code to tokenize a string: CPP / C++ / C Code:
__________________
When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds |
|
#6
|
||||
|
||||
|
tkenize a cstring:
CPP / C++ / C Code:
__________________
When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds |
|
#7
|
|||
|
|||
|
Quote:
CPP / C++ / C Code:
|
|
#8
|
||||
|
||||
|
Sorry, I didn't realize this, its freeze cause it will enter an infinite loop...this is because the Find() funtion will keep looping the string and did not end when it reaches the end of the string..
so put a break in the end of while:: CPP / C++ / C Code:
__________________
When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds |
|
#9
|
|||
|
|||
|
Quote:
|
|
#10
|
||||
|
||||
|
Quote:
Well, that big white space is called 'view' and you can choose the type of view you want when u create the new project, its in the last option of the wizard. By default, your view is CView, There are many other view class to chose from, like the CEditView or CRichEditView where u can type text in the view and thats the first step to make a notepad or wordpad like program. There is also CHTMLView which can be like a web browser, and using this view, you can meke your own web browser.... and there are many more.. check out MSDN. So, after all the explanation on those different kinds of views, U still want to output text in your CView?? Then, use OutputText(...) and put it in the OnPaint message... [\C] void CYourSDIView::OnPaint() { CPaintDC dc(this); // device context for painting // TODO: Add your message handler code here CClientDC pDC(this); OnPrepareDC(&pDC); // Get origin adjusted TextOut(pDC.GetSafeHdc(),1, 2, "HELLO", 5);// and output text } [c] __________________
When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds |
Recent GIDBlog
Stupid Management Policies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Visual C++ Edge Detection | surgio | MS Visual C++ / MFC Forum | 5 | 26-Mar-2005 02:46 |
| Intel Compiler C++ for Embedded Visual C++ | kiara | C++ Forum | 1 | 15-Jan-2004 10:56 |
| Convertin C++ to eMbedded Visual C++ | kiara | C++ Forum | 0 | 14-Jan-2004 02:05 |
| Convertin C++ to eMbedded Visual C++ | jbalart | C++ Forum | 0 | 23-Dec-2003 07:44 |
| Side bar frame? Plz help! | Coatesy | Web Design Forum | 3 | 06-Sep-2003 12:59 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The