Skip to content

Instantly share code, notes, and snippets.

@TadashiCZ
Created March 18, 2018 22:28
Show Gist options
  • Select an option

  • Save TadashiCZ/a5ee27f9ada3894dfe68118f7a47e743 to your computer and use it in GitHub Desktop.

Select an option

Save TadashiCZ/a5ee27f9ada3894dfe68118f7a47e743 to your computer and use it in GitHub Desktop.
tadeas@tadeas-ThinkPad-Edge-E440:~/Downloads$ diff main\ \(1\).cpp main\ \(2\).cpp
303c303
< cout << "Prazdny byte neni prazdny 1" << endl;
---
> //cout << "Prazdny byte neni prazdny 1" << endl;
306c306
<
---
> if (image.mHeight <= 0 || image.mWidth <= 0) return false;
378d377
<
388,389c387,388
< if ( is.bad()) {
< cout << "error" << endl;
---
> if ( is.bad() | is.fail() | is.eof() ) {
> //cout << "error" << endl;
394c393
<
---
> input.print();
532,534c531,532
< assert ( recodeImage ( "input_00.img", "output_00.img", 1, ENDIAN_LITTLE )
< && identicalFiles ( "output_00.img", "ref_00.img" ) );
<
---
> assert ( !recodeImage ( "in_2661253.bin", "out_2661253.bin", 1, ENDIAN_LITTLE ) );
> /*
562c560
< /*
---
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment