432 Posted Topics

Member Avatar for rfresh
Member Avatar for rafiakhan492
Member Avatar for nitin1
Member Avatar for yaya1234

True. Wherever you are opening this file, make sure it is opened with the correct append attributes.

Member Avatar for Suzie999
0
164
Member Avatar for Suzie999

I am just wondering if I target the lowest .net framework, does it follow that all subsequent/later versions are able to run it?

Member Avatar for Bhuvan_1
0
119
Member Avatar for Riteman

I suggest you create some sort of installation package which runs with admin rights to deal with registry. But if your actual app needs to also manipulate reg HKLM then that will need admin rights too.

Member Avatar for Riteman
0
154
Member Avatar for Dani

What if only those members who are selected and participate in the thread get to vote on either a single member or all members get a cut. Ten members = Nine checkboxes Each ticks one or more boxes of who they believe helped solve the thread, after that, a percentage …

Member Avatar for Dani
0
2K
Member Avatar for Dani

Think there may be something wrong in the search feature. As an example, I search for the word "cold" select C++ forum, and discussion threads. and all that is returned are member profiles.

Member Avatar for Reverend Jim
1
865
Member Avatar for Suzie999

Although I've been programming as a hobby for a while, most of it has been procedural and I've done very little OOP, and not very competent with the inheritance hierarchy of classes, which is the reason for my post here, to get a bit of advice as to whether im …

Member Avatar for Suzie999
0
257
Member Avatar for Florin_1

int main() { int i; for (i = 1; i <= 12; i++) { cout << i <<; if (i == 4) { cout << " My lovely month in which I've been born! \n"; } else{ cout << endl; } }

Member Avatar for Maritimo
0
187
Member Avatar for marina_ch
Member Avatar for marina_ch
0
1K
Member Avatar for Suzie999

My code does not appear to be formatting correctly when I ctrl k,f. looks like this... namespace CS_TexasHoldem { class Card { private char suit; char value; public Card() { } } } Does that look weird? What can I do about it, I'm pretty sure it does not do …

Member Avatar for Suzie999
0
126
Member Avatar for Garidius

C++ is happy with regex and visual studio at least has it covered in std library. However, GUI's are not really so simple, and I would advise to use C# instead, which also has regex capabilities, but is very very easy to create a GUI.

Member Avatar for Garidius
0
661
Member Avatar for Spanana

I generally point people toward [learncpp.com](http://www.learncpp.com/). There are many others which a web search will reveal.

Member Avatar for Suzie999
0
93
Member Avatar for BibhutiAlmighty

I searched your exact term, and found many examples at the very top of the results. You should try, and post a more specific question.

Member Avatar for Suzie999
0
108
Member Avatar for Adeel_3
Member Avatar for awesomelemonade
Member Avatar for kuntesh
Member Avatar for Learner010

**No Argument and returns** bool result; Result = IsEven(); should be bool result; result = IsEven(); <============== **Arguments And Return** int x, y, z, bin_number; cout << "enter three values"; cin >> x >> y >> z; Big_number = Big_Value(x, y, z); cout << big_number << " is big value"; …

Member Avatar for Learner010
2
879
Member Avatar for IT_Techno

First you should try to create a short basic reproducer of your problem. Be sure any dependancies are correctly linked.

Member Avatar for IT_Techno
0
368
Member Avatar for Suzie999

In my windows forms application, I start a thread to do some work. I need to be able to pause what that thread is doing without having to restart the whole thread or start a new thread. I have some code but somehow it does not look thread safe. It …

Member Avatar for JOSheaIV
0
129
Member Avatar for strRusty_gal

I'd probably just use a bool feild in the class to indicate an error which is set to true in MethodD. and check it before checking Method return value, and return before executing the rest of the Method code, to avoid unwanted recursion.

Member Avatar for strRusty_gal
0
181
Member Avatar for Jeroen Mathon
Member Avatar for Suzie999

I am thinking about starting a new project which involes image manipulation. After a search around for some libraries ImageMagick's Magick++ kept popping up. Thing is, before I start looking into how to install it, I'd like to know if it will suit my purpose and hoping someone here has …

Member Avatar for Suzie999
0
399
Member Avatar for Suzie999

I feel a bit stuck with this feature, and not really sure how to ask what I'm thinking, so sorry if you do not get it. When someone replies to a topic I post, I tend to +1 the reply when the member is trying to help me, not just …

Member Avatar for Suzie999
0
197
Member Avatar for Suzie999

I have been working on a project with selenium 2 webdriver for a few weeks. I got to a milestone and decided to compile my project in release mode and test the executable. Thing is, it crashes if I try to run it from the release folder (or anywhere else …

Member Avatar for Suzie999
0
397
Member Avatar for Suzie999

I'm having some problems cleaning up some of the processes my windows form application creates. I'm using selenium which starts a process instance of a browser and a browser driver among other things. Selenium library provides a Quit() method which if called inside my running application works just fine at …

Member Avatar for Suzie999
0
216
Member Avatar for andrew mendonca

[Here](http://en.cppreference.com/w/cpp/algorithm/unique) is an example of how this can be achieved using std library. #include <iostream> #include <algorithm> #include <vector> int main() { std::vector<int> v{1,2,3,1,2,3,3,4,5,4,5,6,7}; std::sort(v.begin(), v.end()); auto last = std::unique(v.begin(), v.end()); v.erase(last, v.end()); for (const auto& i : v) std::cout << i << " "; std::cout << "\n"; } You …

Member Avatar for Suzie999
0
287
Member Avatar for Harish_2

This question is extremely vague. There are far more than 2 functions in the code shown. It would be wise to clarify your question if you want any sort of relevant answer.

Member Avatar for Suzie999
0
331
Member Avatar for kamilacbe
Member Avatar for Suzie999

I'm trying to catch an SQLite problem but I'm unsure how. The problem is opening a database which is password protected. No error appears to be thrown when opening a database with an incorrect or no password. I tried the following. SQLiteConnection m_dbConnection = null; try { m_dbConnection = new …

Member Avatar for Suzie999
0
1K
Member Avatar for EarhawkPH
Member Avatar for Hiroshe
0
252
Member Avatar for Suzie999

I've been working on a project using selenium 2 webdriver. Took me a while but finally got it working inside iframes of a web page. Thing is, I searched a lot and seen many examples but none that looked like what I ended up with, looks a bit weird and …

0
129
Member Avatar for Suzie999

Can abyone tell me what type of variable is a standard Form1? It's just a curiosity and not a real part of a project. here is the standard code visual studio starts with in my version 2010 when creating a new forms application with a couple of lines added/amended.. namespace …

Member Avatar for Suzie999
0
95
Member Avatar for Suzie999

Following a tutorial [here](http://www.joecolantonio.com/2012/07/31/getting-started-using-selenium-2-0-webdriver-for-ie-in-visual-studio-c/). Code is as follows... using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenQA.Selenium; using OpenQA.Selenium.IE; using OpenQA.Selenium.Support.UI; namespace mySelenium { class Program { static void Main(string[] args) { IWebDriver driver = new InternetExplorerDriver(@"C:\Downloads\selenium"); driver.Navigate().GoToUrl("https://www.google.co.uk/"); } } } When I run the code all seems to …

Member Avatar for Suzie999
0
352
Member Avatar for rzzque

It will go a lot quicker if you tell people "What's the problem" then they can help you better.

Member Avatar for David W
0
308
Member Avatar for ckide

I'm not sure it counts because I do not use the internet daily, but when I do I visit here, and usually find myself reading MSDN and various stackexchange sites. Why are there so many silly tags to this thread?

Member Avatar for expertmagician
0
455
Member Avatar for ravi_14
Member Avatar for new2code

Think this is more likely the calculations. I added a func to print the array to keep it simple. #include "stdafx.h" #include <stdio.h> void PrintArray(int arr[][4], int rows, int columns){ for (int y = 0; y < rows; y++) { for (int x = 0; x < columns; x++) { …

Member Avatar for jwenting
0
213
Member Avatar for Suzie999

I've never really tried MFC and this excercise is nothing more than trying it out. I found what seemed like a simple spoon fed tutorial to get me started [here](http://courses.washington.edu/css450/2008.Fall/web_contents/from_students/450Hints/mfc_tutorial/tutorial_2.html). Step 6 of the first part in that link says... > Inside 'Tutorial.h', change enum value of IDD to "IDD_ECHOBUTTONEVENT_DIALOG" …

Member Avatar for Ancient Dragon
0
194
Member Avatar for tomeika.griffith

What I don't understand is why people take courses in a subject they have no intention of learning. Boggles the mind.

Member Avatar for Suzie999
-1
214
Member Avatar for Stavros_1

Sounds like the library is not linked correctly if at all. Make sure the lib files are added in additional dependencies in linker properties. You might not get errors in the IDE because of the header files include function prototypes.

Member Avatar for Stavros_1
0
290
Member Avatar for Suzie999

Some chat show on the radio was discussing disabled parking and people who do not hold a blue badge (UK) that entitles them to park in disabled spaces using them. Then Barry joined the debate and offered a real good reason for a non disabled person using the spaces. have …

0
137
Member Avatar for Suzie999

Taking some baby steps in php. Here is my simple code... <?php $data = file_get_contents('http://www.blankwebsite.com'); //$regex = '/<TITLE>(.+?)\<\/TITLE\>/'; $regex = '/TITLE>(.+?)TITLE/'; preg_match($regex,$data,$match); echo "blah"; echo "<br>"; echo $match[1]; ?> The target source is basically this... > <HEAD> > <TITLE>Blank website. Blank site. Nothing to see here.</TITLE> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; …

Member Avatar for Suzie999
0
178
Member Avatar for total90

To get input from the user you can use "cin" function. To print out results to screen you can use "cout" function. To "Use constant declarations for these rates" you can use the const keyword. Here is an example. const int multiplier = 5; int value; cout << "Enter an …

Member Avatar for Suzie999
0
308
Member Avatar for agrbinoo.albaker

You should outline the problem with your code. But your compiler should tell you you have no such variable as TestScore declared.

Member Avatar for Sarkurd
0
208
Member Avatar for ram619

http://stackoverflow.com/questions/745152/what-is-the-maximum-size-of-buffers-memcpy-memset-etc-can-handle

Member Avatar for ram619
0
3K
Member Avatar for Suzie999

Last couple of days I've been having problems with daniweb. posting does not appear to occur, then turns up hours later, and latest is I cannot reach page 6 of [this thread](http://www.daniweb.com/community-center/geeks-lounge/threads/458329/things-i-hate-about-tv-shows), it just sends me to page 1.

Member Avatar for happygeek
0
333
Member Avatar for Vikram Sehgal
Member Avatar for shelton22
Member Avatar for iamthwee
0
510

The End.