Found.
Type: Posts; User: ataman
Found.
How can i put standart input's every word to a vector?
"The operation will be indicated by a code that you will read from the standard input (NOT from
the file dfa.txt)"
What does standart input mean?
Thanks.
I did not redesign my functions yet. I just want to solve my problem first. What i want to do is in the vector array when it sees -1 understand that a new line is beginning.
My input file dfa.txt...
Hello i have a string vector which contains something like this 1 2 3 a b 4 -1 seperatly.
String vector displays 1 as 1, 2 as 2, a as a(for sure) but it does not display -1 properly. When i cout...
Hello,
Let's say i have a text input file consist of numbers and letters. How should i put them into an vector. I want numbers to stay as int, letters as strings.
void...
Hello i have trouble using the Ziv-Lempel data compression algorithm, i only need to understand the algorithm. For example, what code sequence and code table should i get when i compress the...
And how should i set it? any clues?
I'm selecting my brush in shape classes. So i guess i select brush two times, maybe that is the problem.
void CDrawView::OnFillcolorTransparent()
{
So what should i write here.
}
It compiles. However, transparent button always stays clicked and does not effect anything.
Thank you for your help! I started to figure out somethings. Now my problem is implementing this code. It does not work in this way. I'm sure that Null_BRUSH implementation is right. Any suggestion?...
Yes, i want to see the background, lets say when i am drawing a circle, inner side should be transparent, background is visible.
When i am defining a color i do:
const COLORREF color_yellow =...
Hello, i was updating fill color menu in c++ MFC painting. I did all of them except the transparent one. Is there any RGB value for transparency? Or do i have to write it in other form? I found a HEX...
Ok, here is my rectangle class. Ive written it by modifing circle class so there is bunch of unnecessary parts. I feel like Resize function is wrong.
#include "stdafx.h"
#include...
Hello, i am modifying the whole c++ MFC. I have mouse draw Line shape, circle shape. However, my rectangle shape does not work. Can anybody help me writing it?
All my shapes are different classes....