CB313
28-06-2016, 19:36
I'm getting an error in my code cannot convert 'std::shared_ptr<NetworkTable>' to 'NetworkTable*' in assignment
Can someone help me explain what this means? I'm rather new to coding, and I don't understand what i did wrong. I copied the code from the FRC Network Tables page (Here (http://wpilib.screenstepslive.com/s/3120/m/7912/l/80205-writing-a-simple-networktables-program-in-c-and-java-with-a-java-client-pc-side)) And the line table = NetworkTable::GetTable("datatable"); is the only one with an error. If it's any help, the whole code is here. (https://github.com/TheBionicZebras/Team313/blob/master/Summer2016Code)
Can someone help me explain what this means? I'm rather new to coding, and I don't understand what i did wrong. I copied the code from the FRC Network Tables page (Here (http://wpilib.screenstepslive.com/s/3120/m/7912/l/80205-writing-a-simple-networktables-program-in-c-and-java-with-a-java-client-pc-side)) And the line table = NetworkTable::GetTable("datatable"); is the only one with an error. If it's any help, the whole code is here. (https://github.com/TheBionicZebras/Team313/blob/master/Summer2016Code)