Forum: C++ 3 Days Ago |
| Replies: 2 Views: 144 Are you suggesting that the above said is the exact way to edit file.
I have test this, if we can exactly point the tellp pointer to the exact location where we need to edit and then if we insert... |
Forum: C++ 4 Days Ago |
| Replies: 2 Views: 144 Hi,
I have an text file "CD details" with content as below
1~ Cast Away~ English~ Thriller~ U~
2~ Titanic~ English~ Romance~ A~
3~ Forest Gump~ English~ Life~ U~
I am trying to add some... |
Forum: JavaScript / DHTML / AJAX Jan 21st, 2009 |
| Replies: 1 Views: 743 i need to call an multi-select listbox from one html page to another html page do anybody know how to do this. can anybody explain me this with example. |
Forum: C++ Sep 16th, 2008 |
| Replies: 1 Views: 912 |
Forum: C++ Sep 8th, 2008 |
| Replies: 2 Views: 297 I am trying to write some cd details to a file, from a queue.
First i have taken all details from keyboard to a Queue and the made to write all those to a file in ascii format. Each queue has... |
Forum: C++ Aug 22nd, 2008 |
| Replies: 3 Views: 1,353 Please compare the two codes below why is the first one displaying output to monitor where as the second code is displaying some unwanted characters.
CODE 1 .....
#include <fstream.h>... |
Forum: C++ Aug 19th, 2008 |
| Replies: 11 Views: 2,039 This is writing some unwanted character to the binary file. I have opened the file in Edit Plus. |
Forum: C++ Aug 19th, 2008 |
| Replies: 11 Views: 2,039 Suggestion of AD has produced compilation error as:-
Error E2034 binaryfilewriting.cpp 64: Cannot convert 'int *' to 'const char *' i
n function emp::write2()
Error E2342 binaryfilewriting.cpp 64:... |
Forum: C++ Aug 19th, 2008 |
| Replies: 11 Views: 2,039 Can you please explain what a bit bucket is? |
Forum: C++ Aug 19th, 2008 |
| Replies: 11 Views: 2,039 I am not able to perform the step "out.write((char *)&i,5);", I am trying to log the count for each time we call the write2() function, but i am not able to enter integer value to a binary file. |
Forum: C++ Aug 19th, 2008 |
| Replies: 11 Views: 2,039 #include<fstream.h>
#include<iostream.h>
#include<string.h>
using namespace std;
class emp
{
public:
char *per;
int i;
int write2() |
Forum: C++ Aug 13th, 2008 |
| Replies: 11 Views: 1,909 Thanks ...... this is working now; i changed the program like this
#include<fstream.h>
#include<iostream.h>
#include<string.h>
using namespace std;
class emp
{
public:
char *per; |
Forum: C++ Aug 12th, 2008 |
| Replies: 11 Views: 1,909 Trying to post again; using code tags
#include<fstream.h>
#include<iostream.h>
#include<string.h>
using namespace std;
class emp
{
public: |
Forum: C++ Aug 11th, 2008 |
| Replies: 11 Views: 1,909 I am just trying to learn thing My self. Sorry for the improper coding standard.
I really don't understand, what you both mean by saying 'code tags'
I am using Borland C++ compiler.
I am... |
Forum: C++ Aug 11th, 2008 |
| Replies: 11 Views: 1,909 #include<fstream.h>
#include<string.h>
using namespace std;
class emp
{
public:
char *per;
void write()
{
ofstream out("ss.txt",ios::app | ios::binary); |