Waitrud Weber’s blog

things and reminders for memories

2021-03-01から1ヶ月間の記事一覧

3d: windows-make: Animation

Do not think about animation so deep.1. Create a thread for animation in which we can call invalidate.2. And also, we can call paint method in main-thread itself when we call something like KEY_UP.We can use aboves for animation. My pleasu…

3d: windows-make: Stepwork and log.

We can invalidate in the last part of windows-thread. In main-thread, we set check_invalidate from 0 to 1. The main-thread ensured the flag. --- winmain_001.cpp Wed Mar 31 07:23:49 2021 ... 628 :static LRESULT CALLBACK mainWindowProc ( HWN…

3d: windows-make: Very thanks to GNU.

Very thanks to Mingw and GNU source code: Copyright (C) 1991-1997, Thomas G. Lane.We could change source files and compiled them on the windows os by use of mingw even if I just put the simple messages.That is what we can understand from s…

3d: windows-make: simple animation for the interface.

simple animation Even though l_buffer on the screen doesn't change, the above key message changed and printed message on the termainal decreased, which means the program worked well and qualified enough. as thread: Animation_5times_thread …

3d: windows-make: grid is displayed well, their cross is ensured.

grid is displayed well, their cross is ensured as same as parallelogram of them. *parallelogram Parallelogram - Wikipedia grid 4x4 right of a is corss as same scale as | a x up|.. up is normal vector, so, we assume the right of a as same a…

3d: windows-make: first step is not qualified but well on the display.

They create d the line 4 x 4 grid but 4 x 4 displayed. 4x 4 =

3d: windows-make: memorization is good and we modify the calculation memorizes in "vCalculation::add"

And we qualified the 3d-calculation all here. 1 vLine* to_screen_line( vLine* ll ) ; qualified 3/23 2 int create_model_lines( vLine **lines, int *line_index, int max_num ) ; qualified 3/23 3 int convert_model_lines( vLine **lines, vLine **…

3d: windows-make: memorized but still can not be converted.

1 vLine* memorizevLine( vPoint* a, vPoint* b ); qualified: 3/21 2 int v3dCalculation::calculation_thread_015(); not qualified: 3/21 vCalculation.cpp Sun Mar 21 06:26:06 2021 ... 384 :void put_memories_vLine ( vLine* result ) { 385 : if ( d…

Analyzer: windows-make: sleep solves the allocation error better than check if that is null or not.

sleep solves the allocation error better than check if that is null or not. And, we don't blame the people who choose this way. 1 function: m_replace requires the base string and replace char1 to char2 in the string and return the replaced…

Analyzer: windows-make: ensurance of start_allocation.

1 put_tokenWe are going to proof to be able to alocate more than size:1012. Qualified 3/17 .\replace.cpp Wed Mar 17 20:02:41 2021 223 :char* read_all (char* filename ) { ... 251 : // Lootn check if we set 100 to the text file. 251 : // Loo…

Analyzer: windows-make: ensurance of times: we use m_replace in main function and realised the allocation error.

1. Read string from a file. .\array_counter.cpp Tue Mar 16 10:01:45 2021 ... 124 :char* m_replace ( char* char_string, 125 : char* from_string, char* to_string ) { 126 : char c1, c2, c11; 127 : int index_max = 0; 128 : char* result; 129 : …

Analyzer: windows-make: ensurance of times: we can use twice m_replace in simple.

We build the plan to check if m_replace is right or not. 1. Twice, we are going to use replace as different parameters in simple. > winmain_001.exe...| a_c=0 a_f=3 c2|36||$|i|17| c1|99|=|c| a_c=0 a_f=3 c2|36||$|i|18| c1|99|=|c| a_c=0 a_f=3…

Analyzer: windows-make: m_replace is qualified and still remained memorization error at work.

1 .\array_counter.cpp Tue Mar 16 04:47:25 2021 ... 124 :char* m_replace ( char* char_string, 125 : char* from_string, char* to_string ) { 126 : char c1, c2, c11; 127 : int count = array_count( char_string ); 128 : int a_f = array_count( fr…

Analyzer: windows-make: we can set the font-size: paste again: if the result match, next i depends on replaced string as a_t.

1 Qualified: 20210316 .\array_counter.cpp Tue Mar 16 03:45:52 2021 ... 124 :char* m_replace ( char* char_string, 125 : char* from_string, char* to_string ) { 126 : char c1, c2; 127 : int count = array_count( char_string ); 128 : int a_f = …

Analyzer: windows-make: we can set the font-size: if the result match, nex i depends on replaced string as a_t.

1 Qualified: 20210316 .\array_counter.cpp Tue Mar 16 03:45:52 2021 ... 124 :char* m_replace ( char* char_string, 125 : char* from_string, char* to_string ) { 126 : char c1, c2; 127 : int count = array_count( char_string ); 128 : int a_f = …

Analyzer: windows-make: we can set the font-size: if the result match or not.

csv is already memorized, so, we think, which is placing error. How do we inspect the ideal result and the result wrong in memories? We have to create the ideal answer in a file and check if the result matches or not 1 replace.cpp Sun Mar …

Analyzer: windows-make: who knows if we could replace $no or not.

Who knows about the truth:We saw it a lot, which is as same as us. $no were changed all, which feared us. 1 read_all ends.i|0| c1|60|=|<| a_c=0 a_f=3 c2|36||$|i|1| c1|116|=|t| a_c=0 a_f=3 c2|36||$|i|2| c1|97|=|a| a_c=0 a_f=3 c2|36||$|i|3| …

Analyzer: windows-make: we can qualify the m_replace:

To paste source code, we use the table block in this site hatena. They can not allow us to paste enough lines of source code, so we use twice paste in table block. And font-size we can change, is very helpful for us, thank you very much of…

Analyzer: windows-make: error of m_replace: it can not read "$no" dollar number.

We could modify the error on the code.There is a problem in m_replace.And We changed it and place the simple compilation and failed it. --- 1: https://github.com/WaitrudWeber/source_zip/blob/master/replace_20210314-001-01.zip 2: https://gi…

Analyzer: windows-make: read_csv

We changed the function of found_enter to read_csv, which is closed. main.cpp Sun Mar 14 16:23:46 2021 1 :#include 2 :#include 3 :#include 4 : 5 :#include "Print.h" 6 :#include "array_counter.h" 7 :#include "parse.h" 8 : 9 :#include "repla…

3d: windows-make: the memorization is changed blured.

When we read the form file, the memorization is changed blured.so, the problem is on the windows file system. // // : https://www.cprogrammingbasics.com/itoa-function-in-c/ int replace_csv ( char* form_file ) { char str_num[10]; char* stri…

3d: windows-make: How do we check if the array is allocated or not in C code ?

How do we check if the array is allocated or not in C code ? lines_2D[2] is allocated but nullptr so that we can set *vLine. It is going to be segmentation error if we don't check lines_2d[2] as one of arrays. We had better array_index whi…

Analyzer: windows-make: tokenizer: found_enter_006:

They don't recognise the loop after memories allocation.We usually see they sure check if the allocation is NULL or not even in C.We omited the part of it. main.cpp Wed Mar 10 22:34:01 2021 ... 251 : int index = 0; 252 : int col = 0; 253 :…

3d: windows-make: we are going to check if all funtions are worked well in simply Main.cpp or not.

We are going to check if all funtions are worked well in simply Main,cpp or not. Table1. Simple works on the practice on the code. 1 winmain_001.cpp Main.cpp 2 vCalculation-> scalize x v 3/10 [1] 3 convert_model_lines v v 3/10 [2] 4 create…

3d: windows-make: the reason that we can not display is nothing on the code.

(20210310)We changed the specification of convertion functions which was well worked, we recognised. Creaation: Convertion:Qualified: 20210310---int vCalculation::subtract starts p1|0028FA00| p2|01EB507C| p3|0028F9D4|p1->x 1024.998413vCalc…

3d: windows-make: creation of functions and considered another function.

3d: windows-make: We are going to ignore the function of display_threeD_screen_initialize in the get_cooordinate_on_screen because it can create Screen parameter also.So we could create the three functions also like the below for printing …

3d: windows-make: Dislplayed axes, their memorization is well.

We can convert the axes, and solve the memorization.We are going to check if all functions we can use is uncecesary or not. axes

3d: windows-make: memorization error:

memorization error after we changed the convertion line param as static. https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20200301-001.zip We put it printed line to the loop block but found still memorization error. https://…