Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
shared_ptr
- Page 1
Re: Shared Printer Problem
Hardware and Software
Microsoft Windows
1 Month Ago
by Bunker
Network hiccup, paper jam, or driver glitch - troubleshooting the shared printer quandary demands patience, tech-savvy finesse, and perhaps a dash of printer exorcism.
GCC Fails to Recognize Parameters
Programming
2 Months Ago
by snah19
RE: ffmpeg-4.4 Andrew Wu DJGPP CROSS COMPILER, GCC v12.2.0 Host Macbook Pro, macOS Monterey [Click Here](https://ffmpeg.org/platform.html#DOS) DJGPP Cross Compiler 12.2.0 Fails to Recognize "certain" Parameters in FFmpeg Source Code Hi, I am using the DJGPP cross compiler 12.2.0, developed by Andrew Wu, github, to build the …
'Prepare for the Earliest Possible AGI Deployment Scenario'
Community Center
1 Month Ago
by Johannes C.
**Despite the uncertain timeline for Artificial General Intelligence (AGI) becoming a reality, we need to assure responsible and ethical development today – says Jen Rosiere Reynolds.** ![header-agi-talks1.png](https://static.daniweb.com/attachments/4/5595ff2ec36fde155011d21ea73dcd78.png) As part of our new **AGI Talks**, experts from …
Re: Where do you find the best friends?
Community Center
Geeks' Lounge
2 Months Ago
by simhakidsden
Good friends can come from anywhere, even in unexpected places and situations. They may be found in school, work, community activities, or even online. Genuine friendship is not limited by physical location but rather emerges from shared interests, values, and mutual understanding. Ultimately, the strongest friendships develop from authentic …
Re: Which social sites is best for SEO?
Digital Media
Digital Marketing
2 Months Ago
by dennyfontaine
There is no definitive answer to which social sites are best for SEO, as different social platforms may have different advantages and disadvantages depending on your goals, industry, audience, and content. However, some general factors that can affect the SEO value of a social site are: • The size and engagement of the user base • The …
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
1 Month Ago
by toneewa
I did some sample testing, and parsed a thread topic for the dataset. Reducing the footprint from 220kb to 26.5kb. All in 0.43 seconds. It doesn't use any API. Just the patterns I saw in the code. It took another 6 seconds to embed too Chat with RTX. Then, not deducting for the deleted threads, this could be a lot smaller, and quicker than …
Re: GCC Fails to Recognize Parameters
Programming
2 Months Ago
by Reverend Jim
I can't offer any suggestions other than to just download the compiled app for your system instead of building it yourself.
Re: GCC Fails to Recognize Parameters
Programming
2 Months Ago
by rproffitt
Here's another problem. When we change the OS not only must we setup the compiler, environment and such but sometimes an OS API could be deprecated or removed. You made mention of a possible OS change so that's a possibility. You obtained this code from somewhere. Go back there and see if they updated it for your new OS.
Re: GCC Fails to Recognize Parameters
Programming
1 Month Ago
by toneewa
While I haven't used DJGPP for a couple decades, I decided to install the ffmpeg library and do a test program another way. For me, the declarations worked changing: #include "os_support.h" #include "avformat.h" #include "internal.h" #if CONFIG_NETWORK #include "network.h" #…
Boost shared ptr construction
Programming
Software Development
15 Years Ago
by Niner710
… be derived from class TestSuperClass. I will then used a
shared_ptr
to point to the class and will use a map… correct subclass of TestSuperClass. [code] Blah.h file typedef boost::
shared_ptr
<TestSuperClass> TestClassPtr_t; typedef std::map<std::string…
How do I set shared ptr to NULL
Programming
Software Development
14 Years Ago
by Niner710
Hi, I have a simple question on trying to set shared ptr to NULL. I get an error(binary '=': no operator found which takes a right hand operand of type 'int') when I do this... [code] typedef std::tr1::
shared_ptr
<A> A_smrt; A_smrt = NULL; [/code] Why is this wrong?
Re: How do I set shared ptr to NULL
Programming
Software Development
14 Years Ago
by abhi_elementx
Actually there is no need to initialise it to NULL as we do in case of normal pointers. How ever, for more info, you can refer to the boost library docs. Cheers
shared memory program
Programming
Software Development
12 Years Ago
by niyasc
Following is the one of code written by me for shared memory. Problem is that program donot come outside from marked loop and read numbers infinitely. "common.h" [CODE] struct common { int a[10],b[10],c[10],flag; }; [/CODE] p1.c [CODE] #include<stdio.h> #include<unistd.h> #include<stdlib.h> #include<…
shared function and mysql stored procedure
Programming
Software Development
11 Years Ago
by ZER09
i created a dll file using vb.net then it has a shared function that will execute a stored procedure of mysql but my code is something long and when accessing it, it has a big risk that it can produce an error if there is an incorrect string input, i am asking an advice how i can make it much better or can point me something much better than my …
Shared Folder stopped Sharing to Laptop ?
Hardware and Software
Networking
7 Years Ago
by Siberian
I'm experiencing a networking problem which I asked elsewhere and so this is the problem and this was the solution I was given, unfortunately the solution doesn't work in Windows10. The problem was non-existant six months ago, which is a latop and a desktop both running Windows10. As of the last few weeks I cannot connect to a shared folder which…
Shared Ranking problem
Programming
Databases
11 Years Ago
by doodalf
Hi, I'm wondering if someone can help me with a problem I've been trying to solve for almost a week now which concerns shared ranking (i.e. whilst I am trying to rank things in order of one field, if two or more entries share the same value then they receive the same ranking). I have a MySQL database as follows:- racedate | racetime | racecourse…
Shared memory errors
Programming
Software Development
11 Years Ago
by blackrainbowhu
Hello everyone! I hope that someone could help with my C assignment. The main task is to demonstrate forking, piping, message queues, signals, and shared memory with an example that a rabbit female is waiting for a rabbit boy to tell her a poem, she gives a gift in return (plus other things that doesn't matter now). I started programming in C two …
Re: Shared Folder stopped Sharing to Laptop ?
Hardware and Software
Networking
7 Years Ago
by CimmerianX
127.0.0.1 is the localhost. From the Machine with the share, if you use \\127.0.0.1\ by itself, you should see all non-hidden shares on the host. If there are no shares listed, then definately no other machines on network will see shares. Using a cmd prompt 'net share' will list all shares including the hidden ones. IF no shares …
Re: Shared Folder stopped Sharing to Laptop ?
Hardware and Software
Networking
7 Years Ago
by Siberian
Shares do appear, including the shared folder; but 127.0.0.1 or \127.0.0.1 is returned as a; **'\127.0.0.1\' is not recognized as an internal or external command, operable program or batch file.**
Re: Shared Ranking problem
Programming
Databases
11 Years Ago
by doodalf
Ahh. No. I thought that this worked at first but it doesn't *quite*. Basically, it is producing an output like this:- Horse - Forecast - Rank A - 5 - 1 B - 5 - 1 C - 7 - 3 D - 8 - 4 When I was looking for:- Horse - Forecast - Rank A - 5 - 1 B - 5 - 1 C - 7 - 2 D - 8 - 3 I.e. the first two are shared 1 and then the next highest is 2 as opposed …
Re: Shared products DB between multiple Magento installations
Programming
Web Development
10 Years Ago
by LastMitch
>Shared products DB between multiple Magento installations FYI - I will not email you. Can you be more specific? I think the question you post is a bit confused it's not multiple Magento installations, it multiple domain (Magento websites) sharing one database. I assume you are using a free edition? You need this: http://www.…
Shared Memory in C
Programming
Software Development
16 Years Ago
by LightSystem
Hi there, Im new to this site, and I just have a question of something that I have been trying lately in the C language. I need to put a whole array in a shared memory file (using POSIX). I have no problems putting simple int* in shared memory. I do it this way: int main(int argc, char* argv[]){ ... int *ptr; ... int fd=shm_open(&…
ptr and dynamic mem...
Programming
Software Development
14 Years Ago
by tkansara
hello guys... my problem is that i cannot seem to save the value of ptr pointer.... every time i reference it the value seems to reset. after the initializatin it should have 2w's and 2b's in it.. but when i try and print it. it comes as empty... the entry is int for rows and cols...ne ideas ?? for white player... it is alphabet and int... …
Re: ptr and dynamic mem...
Programming
Software Development
14 Years Ago
by csurfer
Several things are wrong with your code starting with this: [code=c] ptr = malloc(numRows*numCols); [/code] [B]Errors :[/B] What are you exactly trying to do here. This initialization is wrong not only for memory allocation of a 2dimensional array but also for 1dimensional array.What you have done is nothing but [code=c] ptr = malloc (100);…
*ptr & **ptr
Programming
Software Development
14 Years Ago
by ravi1986
write a programme that creates a two dimentional array initialised with test data. use 4 rows and 5 columndatatype. the programme should have the following functions: 1.getTotal:- this function should accept a two dimentional array as its argument and return the total of all the values in the array 2. getAverage 3. getRowTotal 4. getColumnTotal 5. …
PTR Record Issue...
Hardware and Software
Networking
15 Years Ago
by arvindhar
Hi... I'm using mdaemon 10.0.0... version. for smtp relay. I have problem while relaying mails to aol.com through mifi-microsense.com relay server and it is behind the pix firewall. Error says reverse lookup issue. How do i confirm this problem, this is due to my PTR Record setup issue or some other issue. Message Wed 2008-12-24…
Re: PTR Record Issue...
Hardware and Software
Networking
15 Years Ago
by HoustonIT
Whenever you setup a new email server, this tool helps alot: [url]http://www.mxtoolbox.com/diagnostic.aspx[/url]. Also, when it comes to reverse dns, your ISP will have to setup the PTR record. I just went through 2 hours of telephone support hell trying to find the right people to talk to at AT&T, and then I had an epiphany. If you do a whois …
Ptr copying pls help
Programming
Software Development
14 Years Ago
by MrNoob
hello i m given a question in book i m reading that i copy element but using ptr to copy and other choice will be using normal integers to copy i did normal integer but copy i think i got a problem with it [code] #include <stdio.h> int copyarr(const int Mainarr[],int Target[], int * end); int copyarr(const int Mainarr[],int Target[], …
Shared memory compare/check
Programming
Software Development
13 Years Ago
by Xytheron
Hey all! Long time reader, first time poster! So I'm trying to communicated between two processes on a UNIX machine using shared memory. I believe everything in this program is working fine except for how I'm attempting to call the memory to check. Basically the parent process writes to the shared memory and says "How are you my child?&…
Re: Shared memory compare/check
Programming
Software Development
13 Years Ago
by mike_2000_17
Well, I copied your program (with the modification) as follows: [CODE] #include <stdio.h> #include <sys/shm.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <iostream> #include <iomanip> #include <string> #include <fstream> using namespace std; int main() { …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC