| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> given the matrix <0> it transponds it <0> here is the code with fixed errors u guys mentioned <0> http://www.noidea128.org/sourcefiles/16135.html <0> erors are largrly removed <1> easy to make, easy to crak <0> i mean there are only few compared to the first code <2> look at line 85 <2> DaLiJeGornjaTrougaona is screwed, too <0> ok <2> it will never return false <2> and not all controls paths return a value <2> and you're missing a closing } <0> ok tnx for info <2> and line 127
<0> damn i **** <2> if(trougaona = true) <2> bad <2> that will always evaluate to true <0> yea i understand <0> ++ <0> == <3> think of == as "is equal" <3> only works for english speakers I guess <0> ok <0> guys i fixed stuff u told me <0> http://www.noidea128.org/sourcefiles/16136.html <0> however there is still some mistake in lines 83 97 and 124 <0> 83 C:\WINDOWS\Desktop\zadatak1.cpp expected `,' or `;' before '{' token <0> 97 C:\WINDOWS\Desktop\zadatak1.cpp expected primary-expression before "int" <0> 97 C:\WINDOWS\Desktop\zadatak1.cpp expected `;' before "int" <2> trans[j][i] = A[i][j]; <0> 124 C:\WINDOWS\Desktop\zadatak1.cpp expected `}' at end of input <2> there's no such thing as 'trans' <0> ok <0> i fixed that <0> http://www.noidea128.org/sourcefiles/16137.html <0> ok guys here is the link <0> http://www.noidea128.org/sourcefiles/16138.html <0> the problem ocurs in line 77 <0> function DaLiJeGornjaTrougaona <0> a function-definition is not allowed here before '{' token <0> expected `,' or `;' before '{' toke <0> also in line 105...when i name the main program "int main()" <0> it tells me <0> expected primary-expression before "int" <0> expected `;' before "int" <0> and in the end <0> after return 0; <0> when i close the main rporgam <0> } <0> it tells me <0> expected `}' at end of input <4> your code probably still is lacking some } <4> You should indent consistently and you should use a text editor that supports kissing. <3> i hate being used as a remote compiler <5> I need ***istance <5> ifstream ifs(FILENAME, ios::binary); uint64_t block; char block_hex[(BLOCK_BYTE + 1)]; ifs.read(block_hex, BLOCK_BYTE); block = strtoull(block_hex, NULL, 16); ofs.write((char*)&block, BLOCK_BYTE); <5> ofstream ofs(FILENAME2, ios::binary); even <5> my problem is when I do this I get the hex stored in the FILENAME2 (out stream) not the array I started with <5> any ideas? <6> fvcdbn h <7> quite <3> heh <8> does anyone know what those binary things in an .obj file are ?how can I create those with c++ ? i'm trying to write an ***embler in c++ <3> coff or omf "things" iirc <2> writing an ***embler? what in heck for? <2> find information on the file format you want to write, then find information on how to encode each instruction <3> and waste a loooong time <2> what else is new around here <8> I know the file format is coff , cause the ***embler i'm trying to make already exists on windows, and I'm doing it on linux, but is it the same coff which microsoft describe here ->http://support.microsoft.com/?id=121460 ? <2> i thought it was "PE" <2> oh, same thing <2> yes, it is aral <2> you're trying to ... what? <2> linux has an ***embler
<2> it's called gas <8> yeah, but this ***embler is for a ucontroller <2> it's for some special hardware? <2> why doesn't it have an ***embler yet? <8> as I said above it has an ***embler on windows, and I'm doing one on linux <2> ah <2> well what does that have to do with PE/COFF ? <2> that device executes PE executables? <9> salut tlm <8> well the existent ***embler on windows makes an .obj file which is in coff format , <2> what about a linker - writing one of those too? <8> executables are ti-txt format <8> so , what you're saying is that if I'm not writting a linker than I don't need an .obj file, right ? <2> well what use is object files without a linker to make an executable out of them? <8> ok, so if I'm not writting a linker than I should just make a listing file at the first p*** and than the ti-txt executable file ? <2> if you're not writing a linker then just give up <2> like I said - what use is object files without a linker to make an executable out of them? <2> an ***embler doesn't make an executable <8> it's probably no use without the linker ... <2> right <8> so I should skip the obj file ? <2> what? <2> when did I say that? <8> i don;t get it <2> you keep making things up <2> what don't you get? <8> so if it's no use having an .obj with no linker than why should I make the .obj file ? <10> since when do I need a key to join #C ? <2> the key is 'main' <10> thx <2> aral you didn't read what I said <2> I said <2> if you're not going to make a linker, then why bother writing an ***embler to output object files? <2> it's an all or nothing sort of deal <2> you can't execute object files <2> and you can't create an executable without a linker <2> and a linker has no purpose unless there's object files to process <2> and there's no object files without an ***embler/compiler <3> there are already a bunch of free asm/linkers for different uC out there <3> base your stuff off one of those <3> gcc has a cross compiler suite <8> so ***uming I make an ***embler which only ***embles .asm made of only one file , than I don't need to make a linker and .obj file ,right ? <3> oh god <8> ok, so is the linker the one that relocates addresses from the sections of the .asm file ? <2> aral: http://en.wikipedia.org/wiki/Linker <3> wheres the god brigade today? <3> fyi : http://www.shortpacked.com/ <11> hello <11> How I can create an timer in C++ <11> ? <11> like in Visual C++ or Delphi <11> ... <12> that would require use to know Visual C++ or Delphi <12> *us <3> with code usually <11> ?? <13> what is the equivalant to istream in C, simply read? <3> is boost::variant the right choice for differing structures to be treated similarly? <3> a union would work but unions **** <14> anyone here know how i can p*** a pointer to multi-dimensional array to function and use it there ? <3> create a typedef for the type and p*** by reference... <14> what you mean ? <14> typedef char myarray[5][10]; ? <3> i thought you might say that <14> i got stuck with that problem for more than hour <3> first question : why are you using arrays like that? <14> well,i have a command line string,and i wants to code function that split the parameters and put them in array of char parms[x][512]; <14> where x=parm position <14> and the [512] contain the parm string <12> std::string man... std::string <3> or vector <12> or both! <14> i dont wants to get stuff too much complex <14> simple char would be fine
Return to
#c++ or Go to some related
logs:
jeriko means sexwithme #php #java #linuxhelp #apache nahxi #c++ #linux CONTENTAL MICROWAVE
|
|