432 Posted Topics

Member Avatar for l3the
Member Avatar for Suzie999

Hi mobile devs, I am noob to android studio and java, but have some c and c++ basic knowledge so not noob to programming in general. However I am also noob to all aspects of form design. I did not write title of Question singular because I'm pretty sure I'll …

Member Avatar for Suzie999
0
289
Member Avatar for candyandy212
Re: c++

There are many many ways, and in my opinion most depend on why you want to learn C++. If it is career learning then I would suggest you look for a class at a local college or school. If it is for hobby then I would suggest you search web …

Member Avatar for Sarkurd
0
150
Member Avatar for bejfake

I believe it's your class you need to show. Also might be a silly question but what type of object is Dict?

Member Avatar for bejfake
0
243
Member Avatar for chubbyy.putto

I think if you mention what compiler you use, might help someone who can properly answer your questions. To me they don't look like errors at all, warnings perhaps, but then there might be more code you are not showing.

Member Avatar for chubbyy.putto
0
160
Member Avatar for Mhayt

You can do it in whatever language you are good at and port it to C++. It will make more sense along the way. Don't get mad, get busy :)

Member Avatar for Ancient Dragon
0
244
Member Avatar for Sarkurd

Looks like there is already a vector.h defined in your include path. Try calling it something else myvector.h, myvector.cpp. Same with class myvector

Member Avatar for Sarkurd
0
384
Member Avatar for basil60

I expect the error comes first from line #12. There is no ranum variable declared or accessible within the local scope of your loop() function.

Member Avatar for richieking
0
2K
Member Avatar for Vikram Sehgal

Not really much to look at there and a lot of missing code, but I can say that your top while loop never seems to be broken out of so your second while loop will never be entered into. If you want both of them to loop at the same …

Member Avatar for Suzie999
0
228
Member Avatar for cambalinho

I don't have an answer to this but I believe the OP means if the content of a window holds an image or multiple images or some other content which is bigger than the physical window size (so I'd assume it would have scroll bars), then the size of the …

Member Avatar for cambalinho
0
382
Member Avatar for rashad fares
Member Avatar for glao

Because your end variable is outside of the inner loop. Move it inside and do your calculations.

Member Avatar for Suzie999
0
456
Member Avatar for Suzie999

I installed Eclipse IDE along with SDK JDK. When I try to create a new Android project it does not appear in context menu. I uploaded image to show. http://s1.postimg.org/b1n9yag9r/ENP.jpg Also image of installed items in SDK manager http://s15.postimg.org/5g5tg2ue3/ASDKM.jpg I've never developed android and this is first time in any …

Member Avatar for Suzie999
0
231
Member Avatar for crystal213
Member Avatar for <\Jericho>
0
317
Member Avatar for Learner010

I also believe x will remain in memory (a leak) until your program ends.

Member Avatar for StuXYZ
0
151
Member Avatar for mxwarning

At a glance I'd say take these calls `DisplayEmployInformation();` out of `ImplementCalculations` method and call it after.

Member Avatar for Learner010
0
256
Member Avatar for saif.shafqat.5
Member Avatar for arashe
Member Avatar for Schol-R-LEA
0
372
Member Avatar for Netcode

I'd say yes you are. You don't know the size of string you are copying into your buffers, so could cause overflow. Maybe strncpy would be better, I believe only amount of chars specified are copied, but you have to terminate it yourself.

Member Avatar for deceptikon
0
206
Member Avatar for moaz.amin.37

> but it is not run If you want better help, you should expand on that. Errors, warnings, outputs etc...

Member Avatar for moaz.amin.37
0
513
Member Avatar for PESOF

I think after 48 hours you must have some sort of code. It will greatly benefit you if you show your two days worth of effort.

Member Avatar for iamthwee
0
313
Member Avatar for sunny@123
Member Avatar for DS9596

Q1. (one solution) int lowest = a[0]; for (int i = 1; i < 100; i++){ if (a[i] < lowest){ lowest = a[i]; } }

Member Avatar for nullptr
0
206
Member Avatar for PulsarScript

Only syntax error I see is int numStamps{4} = {0,0,0,0}; Should be int numStamps[4] = {0,0,0,0};

Member Avatar for Suzie999
0
242
Member Avatar for NardCake

I've been interested in programming as a hobby for about 4 years. The first 6 months odd I used a scripting language called AutoIt, which despite its description on the home page is incredibly powerfull while stupidly easy with a huge catalogue of standard libraries to draw on. It was …

Member Avatar for jwenting
1
493
Member Avatar for sitidahleeya

Might be because there is no free(...) function defined. But to be honest, "function are not well working" is a little vague.

Member Avatar for Banfa
0
204
Member Avatar for A_3

I think first you must open a COM port to communicate with modem. Best you show how you do that first and you will get better help. Can you also tell why "only use standard Libraries"?

Member Avatar for A_3
0
209
Member Avatar for moaz.amin.37

What you are talking about is a c string or array of char. You need to loop through the char array checking each given char against its test char. basic example. char * given = "given"; char * test = "given"; int i = 0; while (test[i]){ if (test[i] != …

Member Avatar for Ancient Dragon
0
324
Member Avatar for Suzie999

When I'm at a board index page or indeed posting a topic, the navigation tools are always visible (Hardware & Software, Software Development etc...) while I scroll down the page. That's great, I like it. While reading a topic however, those buttons/tools scroll away with the rest of the content. …

Member Avatar for Suzie999
0
208
Member Avatar for chubbyy.putto

Well for a start you have there an array of int not float/double. In main you have this statement a number of times. `myArray.theArray[size];` Think what exactly you expect to happen here? I believe nothing is happening, It's just saying "hey look at me, I'm an array index of a …

Member Avatar for wrathness
0
496
Member Avatar for nitin1

If you are coding for windows then you might start with it's [WinINet Functions](http://msdn.microsoft.com/en-us/library/windows/desktop/aa385473(v=vs.85).aspx). Like... InternetOpen InternetOpenUrl InternetReadFile etc...

Member Avatar for Suzie999
0
128
Member Avatar for naveen1993
Member Avatar for Ancient Dragon
0
115
Member Avatar for COKEDUDE
Member Avatar for ala_2

How about [this](http://www.daniweb.com/software-development/cpp/threads/78223/read-this-before-posting-a-question) article?

Member Avatar for BobS0327
0
516
Member Avatar for Suzie999

Simplified code snippet produces assertion string out of bounds error if I do not uncomment the if statement in main. using namespace std; size_t find_next_of(string & src, size_t pos) { //size_t tmppos; //if (pos != string::npos) { return src.find_first_of('a', pos); //} //return string::npos; } int main( void ) { string …

Member Avatar for Suzie999
0
232
Member Avatar for admiri92
Member Avatar for rajii93
0
540
Member Avatar for Dang_1

I don't know how to do this, so this wont be a great help but might get you started. I recall seeing a similar question asked regarding windows programming and as I recall the API "SetConsoleMode" was used in the answer.

Member Avatar for Ancient Dragon
0
498
Member Avatar for smitsky

That's a lot of code to sift through, be more specific about the error and where it's coming from.

Member Avatar for smitsky
0
422
Member Avatar for massivefermion

I doubt it on windows, although an indicater of whether your file has been copied from somewhere else is the modification date being earlier than its creation date.

Member Avatar for Reverend Jim
0
175
Member Avatar for Suzie999

Perhaps mt eyes are missing something simple, but I cannot understand what is going on. The following code produces intellisense and compile error "error C2373: 'GetHwnd' : redefinition; different type modifiers" I have many functions in same manner, but this will not play ball. extern "C" HWND __stdcall GetHwnd(wchar_t *); …

0
116
Member Avatar for kal_crazy

Probably need to add some info, os platform, bitness etc... To me, that looks like should create file in C root, but if windows and vista+ you must invoke admin to create file there. If I'm wrong, try ftream.

Member Avatar for kal_crazy
0
2K
Member Avatar for Mohammed_9

If you use windows api... ShellExecute(NULL, "open", "Path\\file.mp3", NULL, NULL, SW_SHOWNORMAL);

Member Avatar for Ancient Dragon
0
326
Member Avatar for haider885

I don't believe the likes of these statements `cout << "Enter Your First Name: ";` are allowed within a structure.

Member Avatar for k99rs
0
348
Member Avatar for Suzie999

I'm creating some automation utils. Part of it is automating mouse input. I think I have my math wrong because the X coordidnate is incorrect at certain points for example is I give it x = 114 which should translate to 114 pixels from left of screen (0) it will …

Member Avatar for Suzie999
0
764
Member Avatar for Emmaximum
Member Avatar for Ancient Dragon
0
295
Member Avatar for john.kane.100483

where does the code come from? what were you looking for when you found it?

Member Avatar for john.kane.100483
0
149
Member Avatar for sandeepxd
Member Avatar for Mart_webber

There are no questions, just a request for people to do your homework for you. I suggest you post your own attempts at completing your own work before asking for help with it.

Member Avatar for David W
0
225
Member Avatar for mystycs
Member Avatar for David W
0
19K
Member Avatar for Rashmi_1

Here some code to get you started. int main(){ //your code here return 0; } Post again when you have something in main. Then people can help with any problems or specific questions about your code.

Member Avatar for David W
0
385

The End.