679 Posted Topics

Member Avatar for Prabhu_3

Show us what you've written so far, and we'll try to help you get it working.

Member Avatar for David W
0
93
Member Avatar for pdk123

What's the error you get? At first glance, it looks like you may be trying to print the iterator, `it`, which isn't the same as the object it points to. If that's the case, try printing `*it` instead.

Member Avatar for DeanMSands3
0
501
Member Avatar for Clearner123

> But for some test cases it is failing What are the failing test cases? That's important information. A few things I noticed on a quick inspection: `BUFFER_LENGTH` is defined at the top, but you appear to have missed a few places where you should be using it instead of …

Member Avatar for gusano79
0
145
Member Avatar for joshl_1995

Perhaps, by coincidence, all of their certificates have expired. Does Chrome tell you why it's red-ified "https"?

Member Avatar for joshl_1995
0
270
Member Avatar for Ahmed_62

> one more thing plz is it illegal that function return true or false (what i knew is no thing can be performed after return statement ) You can return from anywhere. You're right in that when a function returns, nothing else from the function happens, but in your code …

Member Avatar for gusano79
0
205
Member Avatar for Suzie999

[SQLite2009 Pro Enterprise Manager](http://sqlite2009pro.azurewebsites.net/) says it supports encrypted databases; I don't have any personal experience with it.

Member Avatar for Suzie999
0
701
Member Avatar for CodeWarrior14

"My struct variable" means `key`, right? The compiler message (I get a warning, not an error) is showing up because you declare it and then pass it as a parameter immediately thereafter: struct KeyInfo key; GenerateKey(key, KEY_SIZE_128); But look at the declaration of `GenerateKey`: void GenerateKey(KeyInfo keyInfo, int keySize); You're …

Member Avatar for jencas
0
177
Member Avatar for Mya:)

"The Loan Ranger" (domino mask) "Loan Wolf" ('three wolf moon' with a coin instead of the moon) "I Think We're A Loan Now" (Tiffany) "The Loan Wars" (a $ith lord)

Member Avatar for Mya:)
0
403
Member Avatar for Charles_8
Member Avatar for Abdullahi_1

> i try to insert 10 record under the field year Adding ten parameters to one query (as you coded it) isn't the way to do this. You'll want to run the query ten times with different parameters.

Member Avatar for gusano79
0
279
Member Avatar for coder91

Keep track of which number you're looking for in an integer variable, not a string, and use [custom numeric formatting](https://msdn.microsoft.com/en-us/library/0c899ak8%28v=vs.110%29.aspx#Specifier0) to turn that into a file serach spec with the correct number of zeros. Then you can just increment the integer variable and not have to worry about rolling the …

Member Avatar for gusano79
0
127
Member Avatar for Casanova_1

We won't do your work for you... have you tried doing this yourself yet? Post some code with a specific question or problem, and we'll help you with that.

Member Avatar for gusano79
0
116
Member Avatar for fizzah zahid
Member Avatar for rose_2

[This article](http://nerdparadise.com/forum/openmic/5712/) might be a good place to start.

Member Avatar for rose_2
0
134
Member Avatar for JohnMcPherson

Side note - please indent code so it reads better, *e.g.*: if (fundt[kq-1][ky-1][2-1] < 450,000,000.00) ktti[ky-1][0] = 1; First thing I notice is you're indexing the array every single time you check the value... it seems pretty clear you don't expect the value to change, so it will be *much* …

Member Avatar for JohnMcPherson
0
221
Member Avatar for saxxyblack

See the [PointToClient](https://msdn.microsoft.com/en-us/library/system.windows.forms.control.pointtoclient(v=vs.110).aspx) method. In this case, `Main_Window` is the control.

Member Avatar for saxxyblack
0
184
Member Avatar for kayleigh0411
Member Avatar for mohamed_49

Have you tried to do this yet? Show us what you've written so far, and we can help with specific problems you're having.

Member Avatar for AkumaJack
0
231
Member Avatar for CodeWarrior14

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 a first glance: You have... int initialize(PTR_VALUE value_array); ... which is equivalent to: int initialize(int* value_array); ... but you call …

Member Avatar for CodeWarrior14
0
225
Member Avatar for Jakub_2

What kind of help do you need? Problems with [the algorithm](http://en.wikipedia.org/wiki/Gaussian_elimination)? Locating/using [a library](http://www.netlib.org/blas/)?

Member Avatar for Jakub_2
0
303
Member Avatar for DavidDD

There are a variety of ways to create content this way... which one you choose will depend on what kind of game you're creating and your personal tastes. Suggesting reading to get you started: [URL="http://en.wikipedia.org/wiki/Maze_generation_algorithm"]Maze generation[/URL], [URL="http://en.wikipedia.org/wiki/Cellular_automaton"]cellular automata[/URL]. For roguelike caves, [URL="http://roguebasin.roguelikedevelopment.org/index.php?title=Cellular_Automata_Method_for_Generating_Random_Cave-Like_Levels"]here's an example cellular automaton[/URL]. There's a also [URL="http://pcg.wikidot.com/pcg-wiki"]an …

Member Avatar for XEN0
0
139
Member Avatar for Miguel_4

Have you tried to do these yet? Is there something specific you're having trouble with?

Member Avatar for bernardo.mclobo
-1
144
Member Avatar for mariam iqbal

Also, this isn't right: YEAR.May.ToString()="June" I'm sure whoever wrote it meant this: YEAR.May.ToString()=="June"

Member Avatar for deceptikon
-2
375
Member Avatar for anandhachandru
Member Avatar for Akhila_1
Member Avatar for vegaseat
0
154
Member Avatar for Cameron_2

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).

Member Avatar for Minimalist
0
572
Member Avatar for complete

See MSDN: [Customizing Project and Item Templates](https://msdn.microsoft.com/en-us/library/ms247119(v=vs.90).aspx)

Member Avatar for gusano79
0
221
Member Avatar for Mandy_Monyita

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 can help with specific problems you're having.

Member Avatar for gusano79
0
70
Member Avatar for Ctwo

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[]) You probably want this instead: int mult(int x, int y, int *str)

Member Avatar for TalhaMoazSarwar
0
200
Member Avatar for batoolhussain

[Also this, direct from MathWorks](http://www.mathworks.com/help/matlab/matlab_external/call-a-matlab-function-from-visual-basic-net-client.html).

Member Avatar for gusano79
0
80
Member Avatar for frisky

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.

Member Avatar for gusano79
0
199
Member Avatar for glao

> 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 second loop must go until 5, hence A[ i ].tx = 5, right? No; `tx` could be any int value, …

Member Avatar for glao
0
155
Member Avatar for prince.qureshi.94

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.

Member Avatar for Moschops
-2
93
Member Avatar for Papa_Don

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 already; it works nicely with progress bars and labels. > I don't want to use a true MessageBox as I …

Member Avatar for §AE§
0
3K
Member Avatar for lewashby

> 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 expect that in some programming languages that is how is works. For example, C#/.NET

Member Avatar for gusano79
0
183
Member Avatar for PulsarScript

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.

Member Avatar for Smalls
0
171
Member Avatar for sciprog22

> 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... Ah, I see. It's the first partition, not the end state. Sorry, disregard. > If possible, could you explain me …

Member Avatar for sciprog22
0
231
Member Avatar for PerplexedB

> 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 that no, there isn't. And I wouldn't recommend it, either; using a progress reporting feature to do something other than …

Member Avatar for gusano79
0
2K
Member Avatar for Syeda_2

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 specific questions.

Member Avatar for gusano79
-1
1K
Member Avatar for Hadi.M

What have you written so far? Is there a specific part of the task you're having trouble with?

Member Avatar for gusano79
0
241
Member Avatar for rose_2

> does that mean int ==> passing by reference ..and int& ==> passing by value ??? It's the other way around. `&` means reference; without means copy (value).

Member Avatar for rose_2
0
256
Member Avatar for it@61@sec

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 sense to me because the higher-precedence comparison appears first.

Member Avatar for it@61@sec
0
990
Member Avatar for NA7KR

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 = p.MSGTO WHERE <conditions...> This is what I do with SQL Server; Access might want different syntax, but IIRC it …

Member Avatar for NA7KR
0
174
Member Avatar for Osagie_1

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...`) .

Member Avatar for gusano79
0
195
Member Avatar for CharAmel

> Can you help me figure out what's wrong with it? What problem are you having? Does it not compile? ...not run? ...run but not produce the result you expect?

Member Avatar for vegaseat
0
258
Member Avatar for nitin1

Google is your friend. http://en.wikipedia.org/wiki/Information_hiding http://en.wikipedia.org/wiki/Abstraction_%28computer_science%29 http://en.wikipedia.org/wiki/Encapsulation_%28object-oriented_programming%291

Member Avatar for rubberman
0
255
Member Avatar for jean_5

You already have a `DateTime` object; have a look at [custom date and time format strings](http://msdn.microsoft.com/en-us/library/8kb3ddd4%28v=vs.110%29.aspx).

Member Avatar for gusano79
0
2K
Member Avatar for EdJones
Member Avatar for tabanpanoam
0
278
Member Avatar for adnan121

> The program should use two distinct structure-types to store the students’ scores: the 1st type used for keeping scores of 4 quizzes while the 2nd type is used to keep the scores of 2 exams. Where are the structures that keep scores? You're missing them, and they're necessary for …

Member Avatar for gusano79
0
188
Member Avatar for Papa_Don

> Is this going to change anything to my project (where it will now be found, it's "file name", etc.)? No changes to the project file name or location. Your classes, though, will automatically belong to the new namespace unless you're specifying namespaces manually (I'm guessing you're not).

Member Avatar for Nutster
0
1K

The End.