21 Topics

Member Avatar for
Member Avatar for nathan.pavlovsky

Hello all! I am trying to take a string that has mixed uppercase and lowercase chars and then convert it to lowercase. I am doing the following line of C++ code: transform(theReadMessage.begin(),theReadMessage.end(),theReadMessage.begin(),theReadMessage.end(),::tolower); //theReadMessage is a string to convert to lowercase and my C++ xCode debugger gives me this message `Too …

Member Avatar for nathan.pavlovsky
0
718
Member Avatar for nathan.pavlovsky

Hi all! I am working on creating an SMS language translator (SMS -> real English), and I am having trouble initializing a map for the SMS -> English codes. My code is below: map<string, string> THE_SMS_CODES{ ".02","Your (or my) two cents worth", "10X", "Thanks", "2MI","Too much information", "2U2" ,"To You …

Member Avatar for nathan.pavlovsky
0
663
Member Avatar for ACRDepos

Hello everyone again, I'm trying to do some web studies here and of course, digging deeper into responsive web design. Recently I came across this web page: http://kumanimedia.com/portfolio You will notice when you rescale your browser window, the boxes fluxuate based on it's size. On that, I inspected the element …

Member Avatar for GrazerC0de
0
230
Member Avatar for asrsmunna

Hi Can anyone explain me the following command. This may be a minor one, but, please do explain in detail. CHKTRANS=`echo ${0} | grep '/transforms/' | wc -l`

Member Avatar for sepp2k
0
322
Member Avatar for sandz24

Can anyone please explain to me how to compute DCT? I'm finding it hard to understand it. ![2D-DCT](/attachments/large/3/2D-DCT.png "2D-DCT") ![dct1](/attachments/small/3/dct1.png "align-right") I attached the formulas the Discrete Cosine Transform (DCT) and it's Inverse-DCT.

Member Avatar for white_pearl
0
781
Member Avatar for M4trixSh4d0w

Hi, i'm trying to use an `AffineTransform` to transform a point to pixels on a 400x400 canvas. What kind of transform would you use? For example: given the points (-1, 1) --transform--> (0, 0) (pixels) (1, 1) --transform--> (400, 0) (pixels) (-1, -1) --transform--> (0, 400) (pixels) (1, -1) --transform--> …

Member Avatar for M4trixSh4d0w
0
185
Member Avatar for cisumma

Hello I have a XML DB. I write the first element. I can not get the entries to (fragments) to write to the Database. I know I do not have the error handler setup right. The error stops the process on the transform. Is there some debugging techniques I could …

Member Avatar for cisumma
0
855
Member Avatar for Vaspar

OpenGL GLUT **My question is at the end of this topic** 1) a) Use your logo you drew within a world coordinate space that has 0,0 at the center. You may choose any width and height for your world coordinate space, glut window and viewport. Be sure that you separate …

Member Avatar for Vaspar
0
774
Member Avatar for Patiodude

I made an Edge animation with a stage which is, natively, 1600x900px. I've included it in an `<iframe>` linking to the HTML file outputted by Edge, on the page where it's to be displayed; as not all displays support this resolution, I wanted to use CSS media queries to resize …

Member Avatar for Patiodude
0
343
Member Avatar for maximchris

Hello, NOTE: I dont know in witch forum to post this, I'm sorry if i post it in the wrong one. I had to make a project a few months back for my school, that required me to create 3 3D objects (cube, sphere and so on) and apply some …

Member Avatar for myk45
0
236
Member Avatar for arshad115

Hello, I am making an application for Android that will save users voice command and then while the application is running; compares the realtime data from the mic input to the one that is saved. So far I have saved the voice in wav file now I want to compare …

0
142
Member Avatar for zukazen

Greetings, I'm making a program that draws a certain mathematics function. Here's the problem,my x and y axis aren't defined as the picturebox's. What I mean is that my axis are not located in the top left corner of the picturebox. So normally, the function would start from the top …

Member Avatar for zukazen
0
161
Member Avatar for anandunics

Hi All, <client> <description>KKR</description> <rits>Test</rits> <time_zone_code>US/Central</time_zone_code> <directory_code>Foler</directory_code> </client> I need to fetch the above and put it in the form HTML FORM. Note : Must make use of Xpath,(Identity Transformation)

Member Avatar for anandunics
0
200
Member Avatar for Clotoss

I have been working on pygame for awhile, and now I am working on making a fairly complex space ship game. I want the player to be able to go forward with 'w' and steer by rotating the ship with the 'a' and 'd'. I've tried pygame.transform.rotate, but it makes …

0
118
Member Avatar for jrotunda85

Is there anyway to format Phone Numbers and/or Web Address [U][B]PRIOR[/B][/U] to inserting them into the database? For example, let's say a user puts one of the following telephone numbers into the box: (777) 111-2222 777-111-2222 777.111.2222 7771112222 I would like these to be stored in the database as: (777) …

Member Avatar for diafol
0
298
Member Avatar for gazzatav

I'm reading a book called Beginning Algorithms by Harris and Ross, which gives code examples in Java. As an academic exercise I am trying to convert the code examples to C++. In the interface below the part that throws me is the return of the 'Object' by the 'current' method. …

Member Avatar for gazzatav
0
415
Member Avatar for hanuinfy

Hi, I am new to XSLT, Please helo me in transforming the XML to XML transform I have XML like this <products> <product> <display value="32" /> <count value="0"/> </product> </products> Through XSLT I need to convert it like this <products> <product display="32" count="0"/> </products> Please help me out. This is …

Member Avatar for fpmurphy
0
239
Member Avatar for Sargasso

I am currently trying to take two columns from a *.csv file... log10 transform them, and then plot them up on a graph. The graph is not the issue, I just need to edit those two columns and plot them. The file does have a header row, there are 8 …

Member Avatar for Beat_Slayer
0
124
Member Avatar for marvin42

I am using [URL="http://msdn.microsoft.com/en-us/library/system.drawing.drawing2d.matrix.aspx"]matrix class[/URL] to perform image transformations.Problem is that I want to do a perspective transform, which requires a 3x3 matrix. [COLOR="Green"]system.drawing.drawing2d.matrix[/COLOR] behaves like a 3x2 matrix. Here's a short code extract of what I use the matrix for: [CODE] Graphics my_graphics= Graphics.FromImage(my_image); my_graphics.Transform = my_matrix; my_graphics.DrawImage(my_image2, new …

Member Avatar for Momerath
0
183
Member Avatar for sidd.

hi, i have a graph and i wanna zoom somw particular area in it. Is there any zoom function available... thanx

Member Avatar for Geekitygeek
0
349
Member Avatar for sinnerFA

Here is a sample of the XML that I am starting with: XML: any.xml [code] <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="any.xsl"?> <root> <device> <device_Info> <name>Name 1</name> <type>Type</type> </device_Info> <drive_Pair> <status>Ready</status> <Local> <l_name>10E5</l_name> </Local> <Remote> <l_name>0651</l_name> </Remote> </drive_Pair> #Can be 1 or many <drive_Pair>'s {<drive_Pair> ... </drive_Pair>} # Can only be …

Member Avatar for sinnerFA
0
371

The End.