Click here to Skip to main content
15,891,907 members

Videos


Page 1 of 1,366
1 2 3 4 5 6 7 8 9 10


.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
1. Why float display wrong in C
What Every Computer Scientist Should Know About Floating-Point Arithmetic[^]
CPallini Updated: 23 Apr 2024
Rating: 5.00/5 ( (4 votes))
2. How to read a delimited text file and load the data into arrays in C++
Try #include #include #include #include using namespace std; using Row = array; int main() { vector v; ifstream ifs("cmb.txt"); if (ifs) { string line; getline(ifs,...
CPallini Updated: 23 Apr 2024
Rating: 5.00/5 ( (3 votes))
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
3. Object gdi hbrush destroy
Try to closely mimic the behaviour this MSDN piece of code[^]. Namely, DO NOT create (and destroy) brushes (or other GDI object) inside the OnCtlColor handler. On the contrary create the brushes once, in your initialization code, and release them...
CPallini Updated: 10 Apr 2024
Rating: ( (No votes))
4. Find id of cstatic in a derived class
You could try (not tested) HWND hwnd = GetSafeHwnd(); LONG id = GetWindowLong(hwnd, GWL_ID);
CPallini Updated: 10 Apr 2024
Rating: 5.00/5 ( (2 votes))
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()
5. Unexpected game exit upon player movement in C ncurses game
You failed to properly initialize playerRow, playerRow variables. Put a breakpoint at movePlayer function in order to see that live.
CPallini Updated: 28 Mar 2024
Rating: 5.00/5 ( (3 votes))
6. Operations with type double in C
What Every Computer Scientist Should Know About Floating-Point Arithmetic[^].
CPallini Updated: 20 Mar 2024
Rating: ( (No votes))
7. Calling programming routines in proper structure...
I could not believe that. So I tried the following piece of code #include int RetIntDayNum(char * datestrg, int * intdaynum, int * iostat); int main() { char foo[] = "foo"; int daynum = 42; int iostat = 10; ...
CPallini Updated: 19 Mar 2024
Rating: 5.00/5 ( (2 votes))
.

()
» »
Updated:
Rating: ()
.

()
» »
Updated:
Rating: ()

Page 1 of 1,366
1 2 3 4 5 6 7 8 9 10