|
It's a Comma Separated Value (i.e., comma delimited) file. What part are you having trouble with?
|
|
|
|
|
There is a whole section on parsing waiting to be looked at at:
C++/MFC , Parsing[^]
Iain.
|
|
|
|
|
It's a Comma Separated Value (i.e., comma delimited) file. What part are you having trouble with?
---
I was searching for a class which parses the CSV file and returns a pointer to a user-defined class (or something that will fix the problem) for every line.
Like for example:
The class contains a dynamic number of elements X.
Each element X is one field.
This element X should contain the value of the field(of course) and alsoo the type of value. (text, number, date)
of course the class must have a .next() function to read the next line etc
i thought of fixing the problem like this, i don't know if it's a good solution or not. Thats why the post.
greetings
jens
|
|
|
|
|
Hi every body,
I'm looking for documentation about the WMF file format.
I would like to create WMF file by myself, but not from existing bitmap pictures.
This file will contains commands to create lines, rectangle, circle, to draw text... But for now, i have some trouble to draw text, select font...
does anybody knows where i can get doc about this, or where i can get some sample code to understand how WMF files work.
I would like to use standard C++ code, to make it works under Windows or/and UNIX.
thanks for your help
Jauss
|
|
|
|
|
|
thanks a lot
this will help me to understand how works WMF files
Jauss
|
|
|
|
|
I have some problem with creating a new class...
Here is what i encountered..
I inserted a new Dialog in my MFC application and when i clicked on it , I got the "Add a Class" Dialog box and i clicked ok for create new class.. i gave a name for the new class ..Starting with a 'C' (like Cmyone, I also tried CmyoneDlg) but i got a message saying "Unable to open files E:.......myone.h and... myone.cpp for class Cmyone..
I dont know why this problem occurs..
Can anyone explain me why?
Thanks
Deepak Samuel
|
|
|
|
|
Yeah had it a few times... bug in Visual C++ I guess... check if your files have been generated (then add them to your project) or try again!
|
|
|
|
|
i never head anything about that problem, but try creating empty myone.cpp/.h before adding the class, maybe it works.. dunno
Don't try it, just do it!
|
|
|
|
|
I've seen it a few times. It was actually incorrect, though, because the files were actually created and were added to the project. Ignore it and move on, I guess.
|
|
|
|
|
If i ignore and move on I couldnt include any more controls in the dialog box..infact even the buttons existing by default (ok &cancel) do not appear in object id section in the class wizard..
|
|
|
|
|
At that point, delete the project's temporary files (i.e., .NCB, .CLW, .APS) and let VS rebuild them.
|
|
|
|
|
Hiw to resize a control on the form in C++ (mfc) ?
for ex. , if my form is maximized then all control has not resizing
sorry for the language english
i am french
tHanKs =)
|
|
|
|
|
Salut Mon Gars!
Ok it is a bit of a common problem... you need to override OnSize in your form, and then call MoveWindow for each of your controls (best to call GetClientRect of your form to get its size first)
By the way, there are a few examples on CodeProject where this can be done automatically
Good luck
|
|
|
|
|
ok ! thanks
this website is a very profesional
vraiment
congraluation
|
|
|
|
|
Hi
I want to make Minesweeper game in VC++.
Thanks
|
|
|
|
|
good for you ...
Is there anything in particular you want to ask ?
Compilation errors ?, GDI problem ? UI question , design question ?
Maximilien Lincourt
"Never underestimate the bandwidth of a station wagon filled with backup tapes." ("Computer Networks" by Andrew S Tannenbaum )
|
|
|
|
|
Sorry
This is not an error, Sir have u ever played a game in Computer, where u will find.
|
|
|
|
|
Sure, we all have. Now what's your Visual C++ question?
|
|
|
|
|
Sorry, I don't get the problem/question
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Well, i don't think he got any visual c questions .. i think he just wants the code
|
|
|
|
|
In this case hardly anyone can help him, I guess
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Yeah could be.
I don't think it is that hard to encode (pretty little game). Maybe the graphics are a pain in the ass
|
|
|
|
|
yes, I have played computer games, and I am still playing them.
but I don't know how to answer your question, please specify what is your c/c++ question.
why am i even answering that?
Maximilien Lincourt
"Never underestimate the bandwidth of a station wagon filled with backup tapes." ("Computer Networks" by Andrew S Tannenbaum )
|
|
|
|
|
Maximilien wrote:
but I don't know how to answer your question
what question;P
A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.
|
|
|
|