Hi, I have started using file_get_contents and regex, and after struggling have got it working. The issue I have is that when I print_r($match[1]); I get the results I want, but I do not know how to then convert this into something that I can store in a MySql database, as if it stores it just as 'Array'. Here is my code with the specifics taken out, although I imagine this is just something straightforward. $data = str_replace("\n", '', file_get_contents('')); preg_match_all("",$data,$match); $result = $match[1]; print_r($result); Thanks,

Member Avatar
Member Avatar
+0 forum 7

Well, the title says it all. Imagine that I have HelloWorld.java , I want to create an executable jar from it. I know that if I use IDE such as eclipse I can create it there but how can you create it without that?

Member Avatar
Member Avatar
+0 forum 2

I'm revisiting a topic previously discussed in this thread: [url="http://www.daniweb.com/techtalkforums/thread23030.html"]http://www.daniweb.com/techtalkforums/thread23030.html[/url] The basic issue is this: when using a [b]StreamReader[/b], and [b]ReadLine[/b], to process a text file, you cannot determine where you are "at" within a file. This is because [b]StreamReader[/b] doesn't actually read from a FILE, it reads from a BUFFER. You can know the actual file position, by looking at the [b].BaseStream.Position[/b] property. However, if you want to know the position, in the file, of the record you just read with [b]StreamReader.ReadLine()[/b], you cannot know. There has to be an elegant solution to this. I haven't found it. Background: …

Member Avatar
Member Avatar
+0 forum 25

Say I have code like this... typedef struct { unsigned A:1; unsigned B:1; } FlagStruct; extern FlagStruct *Flags; Imagine that the Flags instance is a shared resource in a multi-threaded application. Say thread #1 decides to read the value of Flags->A but thread #2 decides to set or clear Flag->B at the exact same time. How isolated is Flag->A from Flag->B such that any changes to Flag->B does not affect the value of Flag->A? In other words, are set or clear operations in this structure atomic and therefore thread safe?

Member Avatar
Member Avatar
+0 forum 4

hello dear friends i'm not a developer not app designer what i know is just buiding website and i'm an autolearner. i have a national champion to make an app mockup in photoshop it is litle hard beacause i must show it with basic function. and i want just to know how to integrate imagine in app like this pictures ![8180b3ecbe4e1919b4882b06689b9141](/attachments/small/4/8180b3ecbe4e1919b4882b06689b9141.jpg "align-left") i tried this xml code but i'm sure it is not what i must do <ImageView android: android:id="@+id/addpic" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </LinearLayout>

Member Avatar
Member Avatar
+0 forum 5

"MFC is not a language; it is a native (unmanaged) class library which is a thin wrapper around the Win32 API." now see these header function: void CMyAxUICtrl::OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& /*rcInvalid*/) i belive the CMyAxUICtrl is the instance\object name but it's used outside of main function: can i do these in C++? (like you see: the OnDraw is used, but imagine that the programmer don't use it) (sorry if my question is confused... but i'm trying)

Member Avatar
Member Avatar
+0 forum 25

Hi. I am looking for a few hard-core techy's who are interested in taking a truly incredible idea and turning it into a reality. The only stipulation is you must be a college student but age doesn't matter. What is in it for you? First place gets to share $50,000, world wide recognition for our product and a free trip to Russia in July for a week. Not to mention the grants we get for winning. I am also looking for someone to mentor the group through this. If interested, please leave me a messag. I will be checking back …

Member Avatar
Member Avatar
+0 forum 6

The End.