Search Results

Showing results 1 to 35 of 35
Search took 0.01 seconds.
Search: Posts Made By: integer*09
Forum: C++ Jan 17th, 2009
Replies: 4
Views: 227
Posted By integer*09
Sorry for that statement, i will read up on your suggession.

Thanks.
Forum: C++ Jan 17th, 2009
Replies: 4
Views: 227
Posted By integer*09
Thanks for your reply.

if possible, can i have some example for the array from the above example.

Thank in advance.
Forum: C++ Jan 17th, 2009
Replies: 4
Views: 227
Posted By integer*09
Hi all,

Currently, i'm having a window to show rows of data. the following is for 1st row:

a0_1->Text = "blah,blah";
b0_1->Text = "blah,blah";
c0_1->Text = "blah,blah";
d0_1->Text =...
Forum: C++ Jan 16th, 2009
Replies: 10
Views: 1,028
Posted By integer*09
Thanks for your reply.

lol, i dont even know that i'm using managed code. I think i will not waste time doing the conversion but i will do it in the conventional way, that is saving each data to...
Forum: C++ Jan 15th, 2009
Replies: 10
Views: 1,028
Posted By integer*09
I have tried to send it to textbox but i am getting the following error. Now i'm totally stuck here...

error C2664: 'void System::Windows::Forms::Control::Text::set(System::String ^)' : cannot...
Forum: C++ Jan 15th, 2009
Replies: 10
Views: 1,028
Posted By integer*09
I have the below code almost similar to yours but the value shown in the textbox is always "True", however if i remove the .c_str from it, i will get "error C2665: 'System::Convert::ToString' : none...
Forum: C++ Jan 15th, 2009
Replies: 10
Views: 1,028
Posted By integer*09
Now i have done with the entire writing of the 1st row, to be frank, i am not really sure how to load it back.

edit: since i know which line and column the data is in within the .csv file, any...
Forum: C++ Jan 15th, 2009
Replies: 10
Views: 1,028
Posted By integer*09
Thanks for your reply.

Currently, i am doing it the entire file way thought of shortening it if possible, cause its 38 by 28 data to be rewrote. since its from you, i believed the only way is the...
Forum: C++ Jan 14th, 2009
Replies: 10
Views: 1,028
Posted By integer*09
Hi all,

Good day to all.

I trying to do a program using VC++ window form that involved loading the data from .csv file and displayed it into the window form with labels. Vice versa, when the...
Forum: C++ Aug 1st, 2008
Replies: 3
Views: 1,338
Posted By integer*09
Thanks both AD and vmanes for your informative reply.
Forum: C++ Aug 1st, 2008
Replies: 4
Views: 1,846
Posted By integer*09
Thanks AD for the answers.

hi vmanes,

My file contained mostly short lines of max 70 chars.
but file content will be changing so after each changes my program will read into it.

which mean...
Forum: C++ Jul 31st, 2008
Replies: 4
Views: 1,846
Posted By integer*09
In my development com there's no issue of handling 4MB of text file data but it took about 1-2mins for my program to finish.

I got a few questions here:
Q1-> how much can this string "line"...
Forum: C++ Jul 31st, 2008
Replies: 3
Views: 1,338
Posted By integer*09
Any idea how to check if a text file is still being opened by another program??

I wanted to write to the file after the other program had finished its task and closed the text file. As i know two...
Forum: C++ Jul 8th, 2008
Replies: 5
Views: 6,287
Posted By integer*09
Above reply is from the msdn forum for VC++.

Im glad that the problem is not due to my code but because vc++ express is free so it has its limitation. Sad and angry that i spent quite a...
Forum: C++ Jul 7th, 2008
Replies: 5
Views: 6,287
Posted By integer*09
Thanks for your reply.

I have tried installing the vcredist_x86 on target com with no Microsoft Visual studio but it cant even be executed. after pasting the dlls then it can be executed.
...
Forum: C++ Jul 7th, 2008
Replies: 47
Views: 156,960
Posted By integer*09
im using the ios::nocreate in a fstream with vc++ 2008 express but its say its not a member of std::basic_ios...
Forum: C++ Jul 6th, 2008
Replies: 5
Views: 6,287
Posted By integer*09
The weird part is that it had no problem compiling and executing in any com with vc++ 2008 express edition.

Initially, it could not even be executed in com without vc++ express installed, come...
Forum: C++ Jul 4th, 2008
Replies: 5
Views: 6,287
Posted By integer*09
Hi all,

I got this assertion problem that i cant seem to solve, could you guys help me on this. So far, i think the problem might be due to the while loop for the iterator line by line check and i...
Forum: C++ Jul 3rd, 2008
Replies: 10
Views: 1,070
Posted By integer*09
Thanks to all who reply,

Thanks Prabakar for trying it out.

Tomorrow i test it out and tell you guys the outcome...
Forum: C++ Jul 2nd, 2008
Replies: 1
Views: 652
Posted By integer*09
Hi all,

the while loop in my code dont seem to be working as i wanted it to.
I wanted it to constantly check if new data is available in the sample.txt but curently after the button click it...
Forum: C++ Jul 2nd, 2008
Replies: 6
Views: 1,850
Posted By integer*09
Thanks to all who reply,

I have used the ios::binary and its copied perfectly.
Forum: C++ Jul 1st, 2008
Replies: 10
Views: 1,070
Posted By integer*09
Hi all,

Lets say Program A had opened a AAA.txt and had finished writing to it but didnt closed it as it is waiting for another patch of data to be written in around 1 mins or so.

So in...
Forum: C++ Jul 1st, 2008
Replies: 6
Views: 1,850
Posted By integer*09
Thanks RenjithVR,

I will try it out when i get back to my desktop, currently on the run with my laptop.

Thanks mitrmkar,

I think i have missed the ios::binary out, i try it when i get back.
Forum: C++ Jul 1st, 2008
Replies: 6
Views: 1,850
Posted By integer*09
Im able to copy the entire content of say file A to file B but the last line of file B end with several unwanted tttttt. I suspected the number of "t" is related to the number of line if read and...
Forum: C++ Jul 1st, 2008
Replies: 8
Views: 771
Posted By integer*09
i have done it with the below code;
Forum: C++ Jul 1st, 2008
Replies: 8
Views: 771
Posted By integer*09
Hi niek_e,

actually i needed to save this .txt inside a folder name Log which is a folder within the same folder of this .exe.

I have tried it as below but cant work.
Forum: C++ Jul 1st, 2008
Replies: 8
Views: 771
Posted By integer*09
thank you very much,

I placed your code just after the iterators ends and its works. I still wondering how come it dont work after i retrieved them from the textbox and it still can be shown in ...
Forum: C++ Jul 1st, 2008
Replies: 8
Views: 771
Posted By integer*09
Thanks for your help, i have tried it but it give this error.

error C2664: 'std::basic_ofstream<_Elem,_Traits>::basic_ofstream(const char *,std::ios_base::openmode,int)' : cannot convert...
Forum: C++ Jul 1st, 2008
Replies: 8
Views: 771
Posted By integer*09
I have tried usng these code but still got error messages, any direction or link will be greatly appreciated.
Forum: C++ Jun 30th, 2008
Replies: 8
Views: 771
Posted By integer*09
Hi all,

I need some help on creating a file with name from user input like from textbox.
i have the following code with the filename in textBox2->Text but i dont know how i can get it done.


...
Forum: C++ Jun 30th, 2008
Replies: 7
Views: 1,322
Posted By integer*09
Now im able to show it in the textbox using another alternative which is as followed:

string::size_type j = line.find_first_of( " \t", iter );
string found;
found = line.substr( iter, (j ==...
Forum: C++ Jun 29th, 2008
Replies: 7
Views: 1,322
Posted By integer*09
Thanks Duoas for your reply.

I have tried that before but it comes with this error, "error C2664: 'void System::Windows::Forms::Control::Text::set(System::String ^)' : cannot convert parameter 1...
Forum: C++ Jun 27th, 2008
Replies: 7
Views: 1,322
Posted By integer*09
Sorry i cant find the edit button.

Another question is i cant seem to get into using_iterators () from the button function, how to go about doing it? error msg is error C3861: 'using_iterators':...
Forum: C++ Jun 27th, 2008
Replies: 7
Views: 1,322
Posted By integer*09
Thanks Duoas,

I have included some parts of your code into mine but i would like to ask how can i get the textBox to display the "found" . Cos im using window form while cin/cout are not needed.
...
Forum: C++ Jun 26th, 2008
Replies: 7
Views: 1,322
Posted By integer*09
Hi all,

I have done a word search within a text file and managed to find it on a particular line,
but i dont know what to do so as to get the word/number directly after the searched word.

e.g...
Showing results 1 to 35 of 35

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC