|
Yep, your solution sounds good to me.
Regards,
Nish
|
|
|
|
|
Hi-
||I use Dev-C++||
Im still a beginner in C++, and I need to integrate text file database into my program. How do I create that database (I would prefer to use notepad), and what is the syntax of the C++ code to do this? Make this as simple as possible because I am a beginner. Thankyou for your help!
|
|
|
|
|
2 things :
1. read this note[^].
2. see Carlos antolini's ADO set of classes[^].
[edit]
i came back to you post and saw that you you're talking about notepad as a database... notepad is a text editor !!! a database such as SQL server or Oracle is far from being an easy thing to implement, but can be used quite easily.
if you know SQL, consider using such a DB. otherwise, using simple files to store your datas will need you to make a little reflection time about the files formatting, etc...
[/edit]
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
-- modified at 5:09 Tuesday 10th January, 2006
|
|
|
|
|
toxcct wrote: [edit]
i came back to you post and saw that you you're talking about notepad as a database... notepad is a text editor !!!
I think he wants to use notepad to create his text-based database (such as an XML file).
Regards,
Nish
|
|
|
|
|
You should look at the XML classes available in the .NET f/w.
Regards,
Nish
|
|
|
|
|
I think that you should read Chapter 5: Data File Metaformats[^] of The Art of Unix Programming[^]. Trust me, it applies to Windows, too. It won't give you the code; however, if you know how to open a file and read its contents, a standard format will help and this can help you choose a format.
I, too, use Dev-C++. I just wish it had support for Objective C.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
Hello!
I have made a tiny change to a console-application I've been using for years. I changed some variables of type 'unsigned long' into '_int64' to be able to represent larger numbers. As a result the application now halts before execution even enters the main() function. Only after I give a character input and then hits return does the program start its normal execution. This is inconvienient since the program is normally run as a child of another application.
Any ideas about how to fix this?
Thanks in advance!!!
maladuk
|
|
|
|
|
Do you have any global objects?
Regards,
Nish
|
|
|
|
|
Yes, a few variables and classes.
maladuk
|
|
|
|
|
maladuk wrote: Yes, a few variables and classes.
Typically, when there's a crash even before control enters main(), it's due to global object initialization. Perhaps, a constructor of one such global object is doing something that requires keyboard input.
Regards,
Nish
|
|
|
|
|
Great! You got me on the right track. I traced down the error at last.
Thanks a lot!
maladuk
|
|
|
|
|
Hi there,
I have to display a page in a little webbrowser on my dialog app and want to display the webpage background in the same color as the dialog background.
How can I get the Windows Standard Dialog Background color?
thx in advance
best regards
Michael
|
|
|
|
|
master87 wrote: How can I get the Windows Standard Dialog Background color?
See System::Drawing::SystemColors::ButtonFace
Regards,
Nish
|
|
|
|
|
I need a mothod in C++/MFC not in C#
Sry i forgot to tell you that before...
-- modified at 10:19 Monday 9th January, 2006
omg. wrong forum... :-S
|
|
|
|
|
master87 wrote: omg. wrong forum... :-S
Yeah
Regards,
Nish
|
|
|
|
|
I'm not sure but was this forum not in past "Managed C++"?
|
|
|
|
|
master87 wrote: I'm not sure but was this forum not in past "Managed C++"?
Yes it was. With VC++ 2005, Microsoft have obsoleted the old MC++ syntax and we now have a new C++/CLI syntax that will be the future of .NET programming on Windows using C++. (or at least that's what everyone thinks right now - hard to predict how the future goes)
See my article on this :
A first look at C++/CLI[^]
Regards,
Nish
|
|
|
|
|
hi ,
I am new in c++, Does anybody can tell me or give me c++ code that how we divide image into blocks , I want to divide 144X176 size image into equal size blocks for further processing (to calculate the motion vectors for each block.
thanks
Koreno
|
|
|
|
|
This question should be posted in the Visual C++[^] forum. This is the C++/CLI forum that's dedicated to the new managed and mixed-mode compiler available in VC++ 2005.
Regards,
Nish
|
|
|
|
|
|
This question should be posted in the Visual C++[^] forum. This is the C++/CLI forum that's dedicated to the new managed and mixed-mode compiler available in VC++ 2005.
Regards,
Nish
|
|
|
|
|
it's very embarrasing to see how many people make the confusion... when one have to ask for a managed C++ question, i think they see the name Visual C++ forum and in their head, the idea goes quickly into, "hummm, managed code is a microsoft thing, so i think that the Visual C++ forum is for me" (as Visual stands in a certain way for microsoft products)...
in the other hand, when one have to ask for pure C++ question, i believe that what come to them is something like "hmm, C++/CLI is the right forum to go as it stands for C++, and CLI, i don't know what it is, but it might me related to the standard... whatever, i ask this here".
i wonder if the CLI forum got back its old name "Managed C++" forum people still got confused...
you post 4 messages out of 5 to say to people they write the wrong forum
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
-- modified at 9:30 Monday 9th January, 2006
|
|
|
|
|
Yeah, the naming scheme Microsoft chose is probably a little confusing, but I also think people are pretty careless about where they post. Perhaps a stickey thread on top that explains what this forum is for would be useful in reducing the number of mis-postings.
Regards,
Nish
|
|
|
|
|
I need to modify CxImage library function to include CArray as a parameter.
I have no clue how to include reference to afxtempl.h in this libraray.
Using VC 6.0 and MFC.
Thanks for your help.
Vaclav
|
|
|
|
|
Vaclav wrote: I need to modify CxImage library function to include CArray as a parameter.
I have no clue how to include reference to afxtempl.h in this libraray.
Using VC 6.0 and MFC.
Thanks for your help.
Hello Vaclav, there is no CxImage class in MFC. It looks like you are using a 3rd party library - it's best to contact their tech support.
Regards,
Nish
|
|
|
|