- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
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 … |
|
Re:
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 … |
|
(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? |
|
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 … |
|
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 … |
|
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 = … |
|
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, … |
|
Re:
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 … |
|
Re:
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. |
|
Re:
[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 … |
|
Re:
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] … |
|
I figured it out. To return an array you need to write your function as so [CODE] int *foo() {} [/CODE] |