» Home » Wierd » Page 1
c++ : getting a wierd print out
Category : Programming Languages

that's my code:


long base2(int number)
{
long result = 0;
int num = number;
int multi = 1;
int rem;
while(num > 0)
{
rem = num % 2;
result = result + (rem * multi);
num = num / 2;
multi = multi * 10;
}
return result;
}

I'm getting a weird print: <


View Replies


Google Map's Zoom look wierd
Category : Development Tools & Services

I have a Google map issue, everything seems to working except the Zoom buttons seem messed up


Here is an image of the map.
http://imgur.com/cmTkj


I'm guessing that something is overlapping but I'm not really sure.


Thanks for the help


View Replies


A wierd error which i can't put my finger on
Category : Programming Languages

Hello i have a if statement


$channel = (isset($radioInfo[$value])) ? (int) $radioInfo[$value][$radioKey][2] : null;

when i run the code (in cli) all works fine except i get the following message in my output


in /path/CollectCounters.php on line 53
in /path/CollectCounters.php on line 54
in /path/CollectCounters.php on line 53

View Replies


ipad app wierd behavior
Category : Operating Systems

My ipad project is master-detail view based. There is a button on detail view's toolbar, when user tap on the button, it popup a popover view to show four buttons (as menu). Three of buttons' actions are like the following (the three buttons show three different model form sheets):


- (void) showOnlineSgf
{
NSLog(@"showOnlineSgf");
TGOOnlineSgfViewController

View Replies


Flex 4 xml nodes doing something wierd
Category : Programming Languages

Ive been create some code that save an xml file and loads an xml file
and it does both perfectly.


here is where i found a bug. when i save a xml file then load it and finally re-save it does something really weird


so i save a file that looks like this


<partlist>
<item>
<series>51 Series</series>
<par

View Replies


on duplicate key wierd issue
Category : Databases

I'm using sql query in my project, with next code:


ActiveRecord::Base.connection.execute "insert into open_offer_counters (offer_id, udid, open_counter) values #{opened_events.join(", ")} on duplicate key update open_counter = open_counter + 1"

I've added


add_index :open_offer_counters, :offer_id, :unique => true
add_index :open_offer_

View Replies


iis server deployment wierd loop
Category : Programming Languages

I created deployment package of my site when I try to use it I get the following error:


The length of the query string for this request exceeds the configured maxQueryStringLength value.


and the adress bar looks like this.this doens't happen in visual studio


http://localhost/MyServer/Login.aspx?ReturnUrl=%2fMyServer%2fLogin.aspx%3fReturnUrl%3d%252fMyServer

View Replies


Rails link_to working wierd
Category : Web Design

I have set up a link_to in a partial (update_dashboard) and it looks like this


link_to "Link", hash, {:url => {:controller => "results", :action => "update_report"}}, :remote => true

'hash' is a set of inputs that I am passing to the controller.


As it can be seen. i want the "Link" to map to the 'update_report' action in the 'res


View Replies


Python wierd file name on create
Category : Programming Languages

I have a txt file with list of html/doc files, I want to download them using python and save them as 1.html, 2.doc, 3.doc, ...


http://example.com/kran.doc
http://example.com/loj.doc
http://example.com/sks.html

I've managed to create fully functional script except python will allways add question mark to the end of newly created file (if you look fro


View Replies


Getting a wierd result from WM_GETFONT message
Category : Development Tools & Services

Actually am trying to get the font used in a windows form control which is running from the other application by using WM_GETFONT with SENDMESSAGE function but am ending always with 0 even if the font of the control is not System font. Plz.... help me out.


Thanks in advance....!


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .