it works thanks.. :-D
Type: Posts; User: quiksilver9531
it works thanks.. :-D
well it doesnt flip anything, it outputs the same...
for (a=0, c=mat.numrows()-1;a<mat.numrows();a++, c--)
{
for (b=0, d=mat.numcols()-1;b<mat.numcols();b++, d--)
{
...
well i have this but it doesn't seem to work...
a=0;
b=0;
int c=mat.numrows();
int d=mat.numcols();
int totallength=mat.numrows()*mat.numcols();
yea I thought aboiut that and I really dont know how to do it.. could someone please help me.. :-D
I always get out of bounds and stuff, anyone got any ideas.
yea that doesnt help :-) but i seriously could use a little pointing in the right direction, you dont have to code it for me.. just a hint or two.. :-)
Hey :)
I'm trying to flip an apmatrix like this:
original matrix
0 1 2
3 4 5
flipped/reversed
When i complied I got these errors::
Info :Compiling G:\Encryption\test.cpp
Warn : string.h(549,3):Functions containing for are not expanded inline
Warn : string.h(557,3):Functions...
that didnt work :(
How do I make my program make a file with information on it which i preset to put on the file....also is there way to make a blank text file or any type of file to the size I want...for...
how would you do that? :confused:
Thanks that worked but what can I do if my file is bigger than 1000 characters?
That didnt work :(
This displays whats in the text file but how can i make it store what it displays in test. I did test=infile.get() but it doesnt work.
I had it working with something I did but I didn't save and I...
nice programs paro :)
I fixed the prob....but since I am fairly new at this, im not sure how I can input the file and then encrypt whats in the file, help please :)
This is what I doin now...It doesnt work but I...
I'm getting this error message
Info :Compiling G:\Encryption\version21.cpp
Error: version21.cpp(119,11):Case bypasses initialization of a local variable
How can i fix it:confused:...
my bad, i forgot about #include <stdio.h> hehe
Tim...The printf and putchar are giving me errors, the error message is call to undefined function, i changed printf to cout and that worked but putchar is still giving me an error.
When you type a key or pass, how can you make it so it displays as ******
Thanks
Salem:
do {
user[x]++;
x++;
} while(x!=string_length);
This works but how can I make it so it doesnt just increase the decimal of the ASCII by 1, I want to make it, for example,...
THanks, that worked
Hey can someone help out here so it can encrypt and decrypt, i've been trying to figure it for a while and I can encrypt but I can decrypt, help would be appreciated. Thanks
CODE::
...
What would go in the while part of the do? I am pretty new...Im only in computer programmin II in my school :)
Hey, I'm making my own encryption code and I will post the part where I need help with::
This may be unproper but this is like the pre pre beta stage lol
cout<<"Enter something you want to...
Thanks, The getch( ) worked thanks, didnt try system tho