432 Posted Topics
Re: What is the basic meanings of them? | |
Re: True. Wherever you are opening this file, make sure it is opened with the correct append attributes. | |
I am just wondering if I target the lowest .net framework, does it follow that all subsequent/later versions are able to run it? | |
Re: 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. | |
Re: 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 … | |
Re: 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. | |
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 … | |
Re: 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; } } | |
Re: For a start, index is not defined, also you have no ; to end the line. | |
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 … | |
Re: 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. | |
Re: I generally point people toward [learncpp.com](http://www.learncpp.com/). There are many others which a web search will reveal. | |
Re: 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. | |
Re: Nine currents per search bun. | |
| |
Re: **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"; … | |
Re: First you should try to create a short basic reproducer of your problem. Be sure any dependancies are correctly linked. | |
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 … | |
Re: 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. | |
| |
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 … | |
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 … | |
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 … | |
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 … | |
Re: [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 … | |
Re: 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. | |
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 … | |
Re: You must first help yourself by posting the code you're having trouble with. | |
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 … | |
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 … | |
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 … | |
Re: It will go a lot quicker if you tell people "What's the problem" then they can help you better. | |
Re: 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? | |
Re: Post exact error message as well as your compiler. | |
Re: 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++) { … | |
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" … | |
Re: What I don't understand is why people take courses in a subject they have no intention of learning. Boggles the mind. | |
Re: 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. | |
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 … | |
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; … | |
Re: 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 … | |
Re: You should outline the problem with your code. But your compiler should tell you you have no such variable as TestScore declared. | |
Re: http://stackoverflow.com/questions/745152/what-is-the-maximum-size-of-buffers-memcpy-memset-etc-can-handle | |
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. | |
Re: I don't understand that output, can you explain a little more why the output should be like that? ![]() |
The End.