- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
12 Posted Topics
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: If your a beginner please don't try to do this first off! Do some Command Line programming and get acquainted with the language in its entirety. | |
(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: I'm not sure but could you do something like this? [CODE] int nSize=5; int *2dArray = [2][nSize]; cin >> nSize; [/CODE] maybe someone more experienced than me could help more because , like I said. I think it will work but I'm not sure. | |
Re: not sure if this will help but the Do while loop always executes at least once. | |
Re: [CODE]{ if (('A' <= ch) && (ch <= 'H')) { ch = ch -1; // <-- see this? cout << ch; } else cout << endl; }[/CODE] as posted by UberJoker | |
I figured it out. To return an array you need to write your function as so [CODE] int *foo() {} [/CODE] |
The End.