-
Replied To a Post in Write a code in C# to implement an enumeration of 12 months named YEAR. Als
Also, this isn't right: YEAR.May.ToString()="June" I'm sure whoever wrote it meant this: YEAR.May.ToString()=="June" -
Began Watching for effective game development which platform?
which platform should i use for effective game development? -
Replied To a Post in for effective game development which platform?
What do you mean by "effective"? -
Began Watching How to allocate memory to a parameter passed pointer?
I need to allocate memory to a pointer variable passed by parameter. #include <stdio.h> #include <stdlib.h> typedef int* PTR_VALUE; int initialize(PTR_VALUE value_array) { value_array = (PTR_VALUE)malloc(sizeof(PTR_VALUE) * 94); return 0; … -
Replied To a Post in How to allocate memory to a parameter passed pointer?
What error do you get? Also, I think you should be getting at least a few warnings out of your compiler, if not errors. Are you? Things I notice at … -
Began Watching C programming
Hey all, I want to learn C programming . Can you please guide me? (From where the software to be downloaded, Tutorials etc.) Thanks Akhila -
Replied To a Post in C programming
[The C Book](http://publications.gbdirect.co.uk/c_book/) -
Began Watching Java Class file convert into java
can anyone say best way to convert java class file into java file appreciate for your help thanks -
Replied To a Post in Java Class file convert into java
[Something like this](http://jd.benow.ca/). -
Began Watching Help Displaying 2 Decimal Places
Hello I need help getting this to display the 3 outputs (Euro, Franc, Rand) with 2 decimal places (1.00) I have all the calculations done so this is what I … -
Replied To a Post in Help Displaying 2 Decimal Places
Alternative: [String.Format](https://msdn.microsoft.com/en-us/library/system.string.format(v=vs.110).aspx) and [the "F" format specifier](https://msdn.microsoft.com/en-us/library/dwhawy9k(v=vs.110).aspx#FFormatString). -
Replied To a Post in How do I edit a project template used in Visual Studio?
If you don't want to replace the existing template, you can create a new project using the old one, then [export the result as a template](https://msdn.microsoft.com/en-us/library/ms185318%28v=vs.90%29.aspx). -
Began Watching How do I edit a project template used in Visual Studio?
How do I edit a project template used in Visual Studio? I am using Visual Studio 2008 with C# and C++ I am doing some development on some code. The … -
Replied To a Post in How do I edit a project template used in Visual Studio?
See MSDN: [Customizing Project and Item Templates](https://msdn.microsoft.com/en-us/library/ms247119(v=vs.90).aspx) -
Began Watching Diamond on assembly language (emu8086)
* * * * * * * * -
Replied To a Post in Diamond on assembly language (emu8086)
Do you have a question, or are you just showing off the diamond? :) Have you tried writing any code yet? Please share what you've done so far and we … -
Began Watching connect vb to matlab
hi everyone.I have question. can i connect vb.net 2010 to matlab. -
Replied To a Post in connect vb to matlab
[Also this, direct from MathWorks](http://www.mathworks.com/help/matlab/matlab_external/call-a-matlab-function-from-visual-basic-net-client.html). -
Began Watching How can i split a video file in C#?
I'm using c# on vs2012. I wanna split to video file for a custom time arrange. For Example; my video file length 30 minutes and i want to watching just … -
Replied To a Post in How can i split a video file in C#?
Sure, it's possible. You'll want to use a library like [FFmpeg](http://www.ffmpeg-csharp.com/) to get at the video file details. -
Began Watching What am I missing?
Hello. Just dusting off my function knowladge in relation to pointers for refactoring in a larger project. Came up on this discrepancy. See my verbose debug output. Problem around for … -
Replied To a Post in What am I missing?
More explicitly, you have an array of ints at the top: int str[5]; ...but an array of pointers to int as a parameter: int mult(int x, int y, int *str[]) … -
Began Watching link list.
plz write a program in c++ for inserting a node in sorted link list at starting , middle and end. thank you. -
Replied To a Post in link list.
We're here to help, but we won't do your work for you. Attempt your own solution, and post code here with specific questions if you're having trouble. -
Replied To a Post in a struct puzzle?
> So,I guess the puzzle lacks of info? I think so. You could go through it line by line, adding comments that describe what the code does, but I don't … -
Replied To a Post in a struct puzzle?
> The code does not suppose to be compiled.You must solve it without compiling. Ah, I see. > any other ideas about how to solve this You should definitely look … -
Began Watching a struct puzzle?
Hello , I found this puzzle : typedef struct { int dd[ 5 ]; int tx; } node; node * A = new node[ 10000 ]; for ( int i … -
Replied To a Post in a struct puzzle?
> The size of the node A is 10000 but the first loop goes until 100000.So , this is wrong right? Correct. > The "dd" has size 5 ,so the … -
Began Watching Adding a "message box" to show progress of the routine
Group, Today I learned with `Me.Cursor = Cursors.WaitCursor` and `Me.Cursor = Cursors.Default` do. I've seen other programs, when running, a "message box" comes up and let's the user know what … -
Replied To a Post in Adding a "message box" to show progress of the routine
Windows Forms applications can also use the [ProgressBar](https://msdn.microsoft.com/en-us/library/system.windows.forms.progressbar%28v=vs.110%29.aspx) class. If this is a long-running task, are you performing work in a background thread? Consider the [BackgroundWorker](https://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker%28v=vs.110%29.aspx) class if you haven't … -
Began Watching libraries and header files
I have a few questions about libraries and header files. Since libraries are binary files and header file are source/text files why do they not just compile the header files … -
Replied To a Post in libraries and header files
> We could create libraries that could be quizzed by a compiler and return the information about what functions they contain, but that's not how it works in C. I … -
Began Watching Question about Quick Sort : Partition Method
Hello, Thank you for your time! I am trying to understand the Quick Sort algorithm. I have some questions about the partition method. I found the following implementation online: import … -
Replied To a Post in Question about Quick Sort : Partition Method
> 8 1 0 9 2 7 12 56 > This clearly works and is very elegant in its implementation. Is that the last result? Because it's clearly not sorted... … -
Began Watching Math.Round
Hi All ,how do i round up this to 2 decimals: public override double GetPaymentAmount() { double paymentAmount = (WeeklySalary * 52 / 12); return paymentAmount; } -
Replied To a Post in Math.Round
It's in your post title... see [this overload of Math.Round](https://msdn.microsoft.com/en-us/library/75ks3aby(v=vs.110).aspx); I think it is what you're looking for. -
Replied To a Post in Can a backgroundworker be told to wait
> old habits ... ...are like John McClane? -
Began Watching Can a backgroundworker be told to wait
I'm using Excel interop and it seems that this functionality needs to run in the User Interface thread. So I execute that from the ProgressChanged backgroundworker event. Is there a … -
Replied To a Post in Can a backgroundworker be told to wait
> Is there a way to have the dowork event (that invoked the progress changed event) interrupt execution until the ProgressChanged event is finished? I think the short answer is … -
Began Watching pseudo code to assembly code
consider the following pseudo code and write the corresponding assembly code for it. Note: There is more credit for a shorter code. If (al > C1) AND (b1 > a1) … -
Replied To a Post in pseudo code to assembly code
We aren't going to do your homework for you. Try doing it yourself, post what you've written, and we'll be happy to point you in the right direction or answer … -
Replied To a Post in Integer to word.
Here's [a more complete approach to converting from numbers to words](http://www.blackwasp.co.uk/NumberToWords.aspx) (in English, anyway). As for the programming task, what assembler are you using? Are you writing something that will … -
Began Watching what does it mean ?
In the following code : what's the difference between int and int& ? and what does it mean ?? i got something that n2 and n3 are changed only but … -
Replied To a Post in what does it mean ?
> does that mean int ==> passing by reference ..and int& ==> passing by value ??? It's the other way around. `&` means reference; without means copy (value). -
Began Watching sorting of struct using bool operator
I have the following struct definition: struct finfo { string filename; long fsize; bool operator() (finfo i, finfo j){return (i.fsize > j.fsize);} } fstruct; And the following vector definition: vector<finfo> … -
Replied To a Post in sorting of struct using bool operator
Something like this: if(i.fsize != j.fsize) return i.fsize < j.fsize; else return /* compare filenames here */ There are other ways to organize the if-chain; this one makes the most … -
Began Watching i need help on xpath pls
i'am testing an xml structure: <Articles> ... <Article ID="333"> <author>Paul</author> <title>i hate xpath </title> <child1>bla</child1> <child2>blabla <subchild> <subsubchild DEEP = "Attribute"></subsubchild> //this is the value i wanna update and my … -
Replied To a Post in i need help on xpath pls
The expression problem is `*node()`; this works: //*[@ID=333]//*[@DEEP="Attribute"] Also note there's no need to check that the attribute exists separately from the value check (`[@DEEP and...`) . -
Began Watching SQL Query Help please
Trying to update Packet.MSGState to P where if not R or D and it is Y in table Packet.MSGState SQL is MS-Access var ODBC from c# This is not undating … -
Replied To a Post in SQL Query Help please
Hm. That "exists" clause seems unnecessary; have you tried [updating with a join](http://sqlandme.com/2013/06/18/sql-server-update-table-with-inner-join/) instead? Here's the general shape: UPDATE p SET p.<fields...> FROM Packet p JOIN MSGTO m ON m.MSGTO …
The End.