Thanks for your help! I realised that I changed the wrong bits...it works now.
Type: Posts; User: _lazycat_
Thanks for your help! I realised that I changed the wrong bits...it works now.
Thanks. I fixed it, but it didn't change the results as that function only affect the output, but it was array.push_back that ran without error but didn't work. The indentations are due to me...
#include <string>
#include <vector>
#include <iostream>
typedef unsigned int UINT;
class TextNumerical
{
private:
std::vector<UINT> input;
std::vector<UINT> output;
Thanks for your quick reply, but I did step it through with a debugger, and it was called. I also checked that value of a to make sure it is valid, but for some strange bizarre reason, it simply...
hi all,
I am currently trying to write a code that involves appending a value to the end of a vector, but i am having trouble.
TextNumerical TextLiteral::convertToTextNum()
{
...
No, but thanks. I'll try it when I get back home.
Hi guys, I am trying to compile a the GUI for my program with only empty functions. I compiled the resource script with Digital Mars rcc, and the main cpp file with MinGW g++. I was able to compile...
Thanks. That solved the problem. Must be more careful about names...
hi, I keep getting this error when I was compiling with dev c++
13 C:\Dev-Cpp\Projects\Crypter\main.cpp expected primary-expression before ';' token
case IDC_BTN_SUBMIT:
{
REPLACE or;...
Hi guys, I am just wondering if there is any possible way to retrieve the height of a HMENU item and put it as a RECT?
thanks for the tips, guys
Hi guys, I know this is pathetic, but I was having trouble when I tried to use CreateWindowEx(). Although I did it before, I kept getting "Window creation failed" error box I used to error check.
...
thanks alot guys, i did forget a semi-colon after a class declaration
OMG thankyou! I was so dumb. Anyway, I get a new error: d:\cryptography\crypter\crypter\power.h(8) : error C2143: syntax error : missing ';' before 'using'
and this is the bit where it points to....
Hi guys, I had created a base class and its derived class, and Both the base class have a virtual function, say hi(). The base class is pretty much pure. Now I declared a pointer of the the base...
Thanks guys, I had just made a very careless mistake.
I want to start a new file and put it in C:\Documents and Settings\_lazycat_\All Users\ in txt format, with a variable as the filename which is passed to the function. What should I write for that...
er...i changed it to use c++ strings, but it still wont work. It compiled alright, but just wont load a new file.
i have got
void savefunc(char* file) {
char filename[80];
std::strcat(filename, "C:\\Documents and Settings\\_lazycat_\\All Users\\");
std::strcat(filename, file);
std::strcat(filename,...
Hi guys, I have been having troubles with file processing. I want to open a new file with ofstream, but it fails every time.. Can someone help me please?
thanks mate, that helped alot, but the other error is still there...
l:\school\ipr\crypter\copy_of_cipher.cpp(110) : Error: need explicit cast for function parameter 1 to get
from: char **
to ...
Hi guys, I am terribly sorry for asking you guys to syntax check my code, but I am seriously stuck. I keep getting this error.
C:\>dm\bin\dmc l:\school\ipr\crypter\copy_of_cipher...
Thanks guys, thats very helpful
Hi guys, I am trying to create a 2d dynamic array with the code:
char **Split_Text;
Split_Text = new *char[Vigenerek.value]; // new dynamic array
for(i=0;i<Vigenerek.value;++i)...
Hi guys, here i am again with a problem.
i am having a problem with std::getline. In my program, it made no compile time errors, but when i run it, all it do is skip over the actual line, and run...