Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for wade2462

I want to be able to have a Textblock set to a certain width and height so it can contain two lines of 36pt font. I have accomplished this with word wrap, but it can still overflow. Is there anyway to make the font size shrink when there is an …

0
106
Member Avatar for s.moosavi

hi all i'm a Beginner in c# coding. i want to design a home application that will run on a single pc i want to design a menu strip but not like the menu bar that appear above the window(file,edit,view,...) my idea in design is that the menu appear in …

Member Avatar for s.moosavi
0
92
Member Avatar for wade2462

(Read Title) I honestly have no idea how to do this. I've tried diagnostics.stopwatch, system.timespan , and system.datetime, but I can't wrap my head around how I would do this. Any suggestions?

Member Avatar for Geekitygeek
0
149
Member Avatar for wade2462

Okay heres my problem, the fastforward and its opposite don't work correctly. I want the user to be able to enter X seconds to ff or go back, but since its a COM and it doesn't provide this function (I think its meant for WPF or WF where you just …

Member Avatar for tanor
0
245
Member Avatar for wade2462

I am coming from c++ and its nice STL. In C++ I could do this [CODE=C++] <include> string ... ... int nMyInt = 5; string sMyString; sMyString[5] = "b"; [/CODE] Ive tried this approach in c# but doing this way gives me this error [QUOTE]Property or indexer 'string.this[int]' cannot be …

Member Avatar for wade2462
0
120
Member Avatar for wade2462

Okay, I'm trying to learn C# (coming from c++). I found this code on a tutorial. When I try to compile it I get this error "cannot implicitly convert from 'int' to 'string'" I thought it was supposed to convert it from string to int??? [CODE] int Number; Number = …

Member Avatar for kvprajapati
0
109
Member Avatar for wade2462

Okay, this just makes me feel stupid. I'm pretty good at programming for the console so I figured I would try a Win32 program. Apparently I'm stupid because I cannot even compile hello world. Heres the code I copy and pasted. [CODE] #include <windows.h> int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, …

Member Avatar for wade2462
0
341
Member Avatar for amare_de

Hello: Am getting confused about making a 2 dimensional array of pointers allocate storage space dynamically in C++. Actually I just want the second dimension of the array to be dynamic in size. For e.g. a simpler version of what I want to do would be: Instead of, [code=c] int …

Member Avatar for amare_de
0
190
Member Avatar for bazoka121

Hello to everyone. I am working on pattern matching. Problem is that I have match source codes weather they are copies or not (c++ source code only). take two .cpp files and match them. and result that if they are match or not.. Please help me. Thanks in Advance.

Member Avatar for abhimanipal
0
116
Member Avatar for tinanewtonart

[CODE] //************************************************************************************ //function playagain(); //parameters char cAns //resets game variables and board or exits game //************************************************************************************ void playagain(char cAns) { cout<<"would you like to play again?(y/n)"<<endl;//function call depending of the choice of the player cin>>cAns;//sts value to variable do { iTotalMoves=0;//resets # of moves ResetBoard();//resets game array cPlayerSymbol='a';//resets game char …

Member Avatar for tinanewtonart
0
227
Member Avatar for jimJohnson

For the following function can one of you guys take a look and see if what I have at the bottom is correct.. [CODE] void f(char ch) { if (('A' <= ch) && (ch <= 'H')) { f(ch - 1); cout << ch; } else cout << endl; } [/CODE] …

Member Avatar for wade2462
-1
92
Member Avatar for wade2462

I figured it out. To return an array you need to write your function as so [CODE] int *foo() {} [/CODE]

Member Avatar for wade2462
0
96