|
why E: should be a "CD reader". i personnaly have 3 hard disks where two of them have two partitions...
C: , D: , E: , F: , and G: are HDD for me !
TOXCCT >>> GEII power
|
|
|
|
|
Because you didnt read his post, you just wanted to answer
He said
"Hi, I have a peculiar problem ! I'm developing a specialised backup facility which uses formatted CD's (created by Adaptec DirectCD) as the backup medium"
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
ok ok.
but if directCD is intalled, it permits to do so, no ?
TOXCCT >>> GEII power
|
|
|
|
|
Apparently no, unless it exports some API that he can use
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
Hey guys, Adaptec DirectCD allows you to read and write files to a formatted CD just like you would to any other disk - it DOES work !!! (DirectCD is used to format the CD - not the normalformat.com) Anyway, the REAL problem is the disk full situation, where it clearly isn't.
Doug
I still haven't had any suggestions about identifying the cause of this problem, so I have taken the defensive route !! I made the last 5Mb a "no-go" area when checking the CD free space. This seems to work O.K. (Being a curious sort of person, I'd STILL like to know the reason why I've hit this problem). Hope that this will be of some help to anybody who has this problem in the future ! ![Big Grin | :-D](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_biggrin.gif)
|
|
|
|
|
I need help!
1)In visual C++, how do i input a string of characters and then print it back out once it reaches a certain character and replacing each double space by a single space.
2)write a program that prints its input (up until it reaches the EOF character) one word per line.
3)Write a function that times a with b, and b with a when the user enters the numbers.
4) using a function, a program to remove trailing blanks and tabs from each line of input (up until it reaches the # or EOF character), and to delete entirely blank lines
please email me: JonesAnd5@hotmail.com if you can help!
|
|
|
|
|
We do not do homework ![Dead | X|](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_dead.gif)
|
|
|
|
|
|
toxcct wrote:
"We don't do homework" is quite a great answer ... too bad, it was posted as an anonymous...
What difference does it make how it was posted? It's factual regardless.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
I could argue that the response is as bad as the recent response I gave to much the same sort of question, yet you, with another, had a shot at crucifying me for it....
at least in my response to his post (below this)I have tried to get the person started, without giving them the answer on a plate
I'm sorry, David, maybe you should practice what you preach
'G'
|
|
|
|
|
I had no intention at responding to A. Jones. My response was intended for, and sent to, toxcct. Please read both posts again for a full understanding of what was said and what was responded to. In other words, while "We don't do homework" was a great response by the anonymous poster, toxcct implied that something was wrong with it simply because of that. I simply responded that it did not matter how it was posted, whether it was by an anonymous or not.
Garth J Lancaster wrote:
I'm sorry, David, maybe you should practice what you preach
I do. What does my response to toxcct have to do with you having been a tad rude in a previous post? Perhaps you know of a contradictory example.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
well, looks like we will disagree here - while I know exactely who the response was for, AND what was said, on the basis of what you said to me the other night, its simply not a good response - for the reason as you put it 'A. Jones may not be as web literate' (as some of us), and 'asking questions is what the Codeproject is for'
.. its how WE choose to answer them that makes this a good (or bad) place
'G'
|
|
|
|
|
Garth J Lancaster wrote:
'A. Jones may not be as web literate' (as some of us)...
Again, my response had nothing to do with A. Jones. Why are you failing to see this? I was responding to toxcct's comment about "We don't do homework" being a "too bad" answer simply because it was posted by an anonymous.
Garth J Lancaster wrote:
...and 'asking questions is what the Codeproject is for'
Ask away, but just because I do not reply to a question hardly implies that I don't "practice what I preach." Had I responded directly to A. Jones with something on the order of "Learn how to type; Use Google first; We don't do homework here; Post some proof of code", then you might have a case. Since I did none of that, I'm curious just what type of point you are trying to make.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
DavidCrow wrote:
I'm curious just what type of point you are trying to make.
Well, I obviously appear to be in the wrong here, so, Im sorry, its late down here, and Im going to bed
|
|
|
|
|
While 'Anonymous' is technically correct, we do help people who show us some code they have attempted..
I'm providing a link to a site that has a fairly good intro to c++ - my suggestion is that you go there first, read the notes etc - you probably have some notes your teacher gave you - read those as well - dont be worried about it not sounding right the first time - take a break, read and re-read ...
http://cplus.about.com/library/blcplustut.htm[^]
Once you've done that, you should then break down your question into individual 'logical' operations - for example, you might start like this for Q1 :-
a) define the 'stop'/'certain' character
b) read a character from the keyboard
c) test if the character is the character defined at (a)
d) if (c) is false, store the character - you may need an array for this, then you/the program need to go back to (b)
e) if (c) is true, you may need to look (loop) through all the elements in the array, printing them out .. you may decide that at (d), you may also need to keep a count of the elements .. so modify step (a) to now read
(a) define the 'stop'/'certain' character, a counter to count how many characters are being entered (hint : int), and an array of characters (you may need to define a large array if you havnt thought of how man characters you want to store),
and modify step d) to include 'increment the counter'
you may decide that the easy way to do the test and 'loop' bit is to take a look at 'while loops'
once you have something that can save and print every character, then, make a copy of it for safe keeping, and alter it to handle the double space reduction issue .. again, write down what you need to achieve, break it into logical steps, then its easier to convert into code .. this goes for any language, wether thats c++, perl, whatever
many people will offer you solutions to the problem - there are a lot of ways to solve it .. but you are better off (as we say down here in Australia) 'having a go' and posting back here with something you've attempted.
think 'what can go wrong' - 'what have I assumed' - if you manage to declare a counter at 'a', is it fair to assume the the compiler set it to zero (I tell you its not, so, at (a), you might also want to add the step 'set the counter to zero')
do you see what Im doing - breaking down the problem, designing and then refining my design ...
I hope this has started you on the right foot - other people will probably shoot me for doing it this way ..
if all else fails, see your teacher/lecturer, even then, you shouldnt go to them with no ideas of your own
'G'
|
|
|
|
|
One of the best answers I've seen for a home work question!
INTP
|
|
|
|
|
Yeah well, sometimes people get lucky !!!
'G'
|
|
|
|
|
I've finally got boost::thread working in debug and release, but I think I'm doing something wrong.
Does anyone know how to armwrestle boostjam into building both the release and debug builds of boost::thread in the boostroot\boost_1_31_0\libs\thread\build\bin-stage directory? They seem to build into the temporary directories ok, but not all of them are moved.
Autolinking fails in the IDE unless I move some extra files into boostroot\boost_1_31_0\libs\thread\build\bin-stage (which has been added to the library include directories)
bjam command:
bjam "-sTOOLS=vc7"
I end up with:
boost_thread-vc7-mt-1_31.dll
boost_thread-vc7-mt-1_31.lib
boost_thread-vc7-mt-gd-1_31d.dll
boost_thread-vc7-mt-gd-1_31d.lib
but am missing:
boost_thread-vc7-mt-gd-1_31.dll
boost_thread-vc7-mt-gd-1_31.lib
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
sorry Andrew, the only thing I've built with boost was regex, and that was before the days of 'bjam' - it was a lengthy compile, but at least it worked ...
I couldnt even begin to guess where the problem is, maybe the targets arnt defined or something ..
I can tell you that the boost forums (from the boost homepage) are probably the better place to ask a boost specific question.
'G'
|
|
|
|
|
I guessed that would be the answer...
I had my fingers crossed that William Kempf (the author of boost::thread) may have answered directly, he occasionally answers questions on CodeProject
Thanks anyway,
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
When i call GetODBCFieldInfo i am getting:
fieldinfo.m_nSQLType = -9
which is not a valid type. The fieldname is a varchar value. Any idea why this might be happening??
|
|
|
|
|
Hi..
i am working on applicatipn that send data to aspx page via http protogol (POST)
i am using OpenURL to pass the values if the data had been accepted by the server it should return 0 or no from 1 to 10 for difrent types of errors..
somthing like that
pCFile=session.OpenURL("http://11.11.11.11/xx.aspx?var1=12525")
how can i read this returned value from CInternetSession varliable or pCFile and whitch fun to use
maybe some of u will find this is easy but it is very important to me so pleases i need the answere ASAP
SAM
|
|
|
|
|
Dear Friends,
I've developed a software in Visual C++. Actually it is a very simple application. With the help of this appliation, a user can make enteries in database, update/delete data from data base e.t.c. In database there are tables like, customers, suppliers, orders. So for each table i made dialog boxes. There are in all about 20 dialog boxes. (i hope you understand now that what kind of application it is and you must be thinking that it can be easily created in VB )
Now the problem is that i want to create main user interface and i dont have good ideas in my mind. Can you give me some idea or point me out some example application available here or somewhere else ???
Imtiaz
|
|
|
|
|
For general information on UI design take a look at the 'Joel on software' UI design textbook [^]
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
One idea might be to use a property sheet, with a tab for each table in the database. However, if this program is going to be used by anyone who does not understand databases/tables/etc, you might just want to present them with something a bit more generic. Perhaps a dialog with a few buttons on it (e.g., Add/Edit Customers, Add/Edit Suppliers, Add/Edit Orders).
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|